From: Tim P <ti...@us...> - 2008-03-17 13:54:14
|
Update of /cvsroot/webmacro/webmacro/test/unit/org/webmacro/template In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv3482/test/unit/org/webmacro/template Modified Files: TestAbuse.java Log Message: Use previously unused variable Index: TestAbuse.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/test/unit/org/webmacro/template/TestAbuse.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** TestAbuse.java 12 Jun 2003 00:47:49 -0000 1.9 --- TestAbuse.java 17 Mar 2008 13:54:10 -0000 1.10 *************** *** 136,144 **** + "</script>\n"; ! // check it with #begin and #end String tmpl = "#if (true) #begin" + jscript + "#end"; assertStringTemplateEquals(tmpl, jscript); } --- 136,149 ---- + "</script>\n"; ! // check no new line with #begin and #end String tmpl = "#if (true) #begin" + jscript + "#end"; assertStringTemplateEquals(tmpl, jscript); + // check newline with #begin and #end + tmpl = "#if (true) #begin" + + jscriptnl + + "#end"; + assertStringTemplateEquals(tmpl, jscriptnl); } |