public void TestAnonIncludeArgMismatch3()
{
ITemplateErrorListener errors = new ErrorBuffer();
string template = "<a:{x|foo},{bar}>";
CompiledTemplate code = new TemplateCompiler(new TemplateGroup()
{
ErrorManager = new ErrorManager(errors)
}).Compile(template);
string expected = "1:11: anonymous template has 0 arg(s) but mapped across 1 value(s)" + newline;
Assert.AreEqual(expected, errors.ToString());
}