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...@apache.org on 2002/02/22 22:41:21 UTC
cvs commit: jakarta-velocity/test/templates/compare comment.cmp
geirm 02/02/22 13:41:21
Modified: test/templates comment.vm
test/templates/compare comment.cmp
Log:
Test for Nathan's $foo## bug, #6633
Revision Changes Path
1.5 +7 -1 jakarta-velocity/test/templates/comment.vm
Index: comment.vm
===================================================================
RCS file: /home/cvs/jakarta-velocity/test/templates/comment.vm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- comment.vm 8 Dec 2000 03:20:03 -0000 1.4
+++ comment.vm 22 Feb 2002 21:41:21 -0000 1.5
@@ -4,7 +4,7 @@
This template is used for Velocity regression testing.
If you alter this template make sure you change the
-corresponding comparison file so that the regression
+corresponding comparison file so that the regression
test doesn't fail incorrectly.
*#
@@ -35,3 +35,9 @@
#set( $foo = 1 ) ## and this is a set statement
+
+## here is a Nathan Bubna bug :
+
+$bar##
+#set($foo = 'foo!' )
+$foo
1.4 +3 -0 jakarta-velocity/test/templates/compare/comment.cmp
Index: comment.cmp
===================================================================
RCS file: /home/cvs/jakarta-velocity/test/templates/compare/comment.cmp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- comment.cmp 8 Dec 2000 03:20:04 -0000 1.3
+++ comment.cmp 22 Feb 2002 21:41:21 -0000 1.4
@@ -13,3 +13,6 @@
We can now comment after the inline set :
+
+
+$barfoo!
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>