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 2001/09/24 15:16:26 UTC
cvs commit: jakarta-velocity/test/templates/compare escape2.cmp
geirm 01/09/24 06:16:26
Modified: test/templates escape2.vm
test/templates/compare escape2.cmp
Log:
Additional tests for a case that blh found. I can't believe this didn't
come up earlier. Fix follows (want to test against current CVS again,
so putting in test first, then code after.)
Revision Changes Path
1.3 +8 -0 jakarta-velocity/test/templates/escape2.vm
Index: escape2.vm
===================================================================
RCS file: /home/cvs/jakarta-velocity/test/templates/escape2.vm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- escape2.vm 2001/01/29 06:09:31 1.2
+++ escape2.vm 2001/09/24 13:16:26 1.3
@@ -103,3 +103,11 @@
\\\#elseif(true)
there
\\\#end
+
+## testing combinations like #$foo
+
+#$foo1
+\#$foo1
+#set($foo1 = "C0C0C0")
+#$foo1
+\#$foo1
1.3 +6 -0 jakarta-velocity/test/templates/compare/escape2.cmp
Index: escape2.cmp
===================================================================
RCS file: /home/cvs/jakarta-velocity/test/templates/compare/escape2.cmp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- escape2.cmp 2000/11/11 22:50:33 1.2
+++ escape2.cmp 2001/09/24 13:16:26 1.3
@@ -78,3 +78,9 @@
\#elseif(true)
there
\#end
+
+
+#$foo1
+\#$foo1
+#C0C0C0
+\#C0C0C0