You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by ge...@locus.apache.org on 2000/12/06 20:50:34 UTC
cvs commit: jakarta-velocity/test/templates/compare block.cmp
geirm 00/12/06 11:50:34
Modified: test/templates block.vm
test/templates/compare block.cmp
Log:
Added #else formatting test.
Revision Changes Path
1.6 +8 -0 jakarta-velocity/test/templates/block.vm
Index: block.vm
===================================================================
RCS file: /home/cvs/jakarta-velocity/test/templates/block.vm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- block.vm 2000/11/05 19:21:13 1.5
+++ block.vm 2000/12/06 19:50:31 1.6
@@ -65,6 +65,14 @@
this is the else statement
#end
+------------
+#if(false)
+False
+#else
+True
+#end
+-----------
+
-- Third Test : tight tight tight. Note that \#end eats the \n, which is NOT what people expect, I think.
-- one blank line follows
1.4 +4 -0 jakarta-velocity/test/templates/compare/block.cmp
Index: block.cmp
===================================================================
RCS file: /home/cvs/jakarta-velocity/test/templates/compare/block.cmp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- block.cmp 2000/11/05 19:21:14 1.3
+++ block.cmp 2000/12/06 19:50:32 1.4
@@ -18,6 +18,10 @@
this is the if statement.
this is great (line w/ 4 spaces follows (from in front of the #end) + another blank line)
+------------
+True
+-----------
+
-- Third Test : tight tight tight. Note that #end eats the \n, which is NOT what people expect, I think.
-- one blank line follows