" <makeTmpl(\"E\", \"foo\")>\n" +
" <makeTmpl(\"F\", \"foo\")>\n" +
" <makeTmpl(\"I\", \"foo\")>\n" +
">>\n";
writeFile(tmpdir, "t.stg", templates);
STGroup group = new STGroupFile(tmpdir + File.separatorChar + "t.stg");
ST st = group.getInstanceOf("top");
Assert.assertNotNull(st);
String expecting =
" electric <field>" + newline +
" <field> force" + newline +
" in <field> between";