diff --git a/src/main/java/synapticloop/templar/token/SetToken.java b/src/main/java/synapticloop/templar/token/SetToken.java index 1305848..6e63658 100644 --- a/src/main/java/synapticloop/templar/token/SetToken.java +++ b/src/main/java/synapticloop/templar/token/SetToken.java @@ -77,7 +77,6 @@ public SetToken(String value, StringTokenizer stringTokenizer, Tokeniser tokenis public String render(TemplarContext templarContext) throws RenderException { for (CommandLineToken commandLineToken : commandLineTokens) { templarContext.add(contextAs, commandLineToken.evaluate(templarContext)); - System.out.println(templarContext.containsKey("something")); } // we don't actually render anything for this... return(""); diff --git a/src/test/java/synapticloop/templar/parse/SetTokenTest.java b/src/test/java/synapticloop/templar/parse/SetTokenTest.java index 5cb11df..a892dfb 100755 --- a/src/test/java/synapticloop/templar/parse/SetTokenTest.java +++ b/src/test/java/synapticloop/templar/parse/SetTokenTest.java @@ -1,6 +1,6 @@ package synapticloop.templar.parse; -import static org.junit.Assert.assertEquals; +import static org.junit.Assert.*; import org.junit.Test; @@ -12,6 +12,6 @@ public class SetTokenTest { @Test public void testCommandLineParsing() throws ParseException { Parser parser = new Parser("{set fn:length[1] as length}"); - assertEquals("", parser.toString()); + assertEquals("", parser.toString()); } }