assertEquals(stringsExpected, stringsResult);
}
@Test public void testSuperIncludeWithNamedArgs() throws Exception {
String template = "<super.foo(x=a,y={b})>";
CompiledST code = new Compiler().compile(template);
String asmExpected =
"args, load_attr 0, store_arg 1, new 2 0, store_arg 3, super_new_box_args 4, write";
String asmResult = code.instrs();
assertEquals(asmExpected, asmResult);
String stringsExpected = "[a, x, _sub1, y, foo]";