ST e = new ST(
"<rest(names); separator=\", \">"
);
e.add("names", new int[] { 0, 1, 2 });
String expecting = "1, 2";
assertEquals(expecting, e.render());
}
@Test public void testRestOpEmptyList() throws Exception {
org.stringtemplate.v4.ST e = new org.stringtemplate.v4.ST(
"<rest(names); separator=\", \">"