This commit is contained in:
Colin Goodheart-Smithe 2015-09-24 15:19:34 +01:00
parent 67237ba269
commit bd42d26a76
1 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,8 @@ public class TemplateQueryBuilderTests extends AbstractQueryTestCase<TemplateQue
builder.doXContent(content, null); builder.doXContent(content, null);
content.endObject(); content.endObject();
content.close(); content.close();
assertEquals("{\"template\":{\"inline\":\"I am a $template string\",\"params\":{\"template\":\"filled\"}}}", content.string()); assertEquals("{\"template\":{\"inline\":\"I am a $template string\",\"lang\":\"mustache\",\"params\":{\"template\":\"filled\"}}}",
content.string());
} }
} }