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