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/23 11:53:01 UTC
cvs commit: jakarta-velocity/test/templates/compare velocimacro2.cmp
geirm 02/02/23 02:53:01
Modified: test/templates velocimacro2.vm
test/templates/compare velocimacro2.cmp
Log:
little test for Victor's bug (well, Geir's bug, Victor found it...)
Revision Changes Path
1.5 +10 -2 jakarta-velocity/test/templates/velocimacro2.vm
Index: velocimacro2.vm
===================================================================
RCS file: /home/cvs/jakarta-velocity/test/templates/velocimacro2.vm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- velocimacro2.vm 7 Nov 2001 12:58:42 -0000 1.4
+++ velocimacro2.vm 23 Feb 2002 10:53:01 -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.
*#
@@ -52,7 +52,7 @@
#macro( poundthis $truth )
#if ($truth )
- <td align=center class=v10><b>#</b></td>
+ <td align=center class=v10><b>#</b></td>
<td align=center class=v10><b> # </b></td>
<td align=center class=v10><b>\#</b></td>
#end
@@ -60,3 +60,11 @@
#poundthis( true )
+##
+## test for bug reported when stringlit changed to on-init parsing
+##
+
+#macro( blorp $bar ) $bar #end
+#macro( schlorp $i )#blorp( "hi $i" ) #end
+
+#schlorp("victor")
1.5 +4 -1 jakarta-velocity/test/templates/compare/velocimacro2.cmp
Index: velocimacro2.cmp
===================================================================
RCS file: /home/cvs/jakarta-velocity/test/templates/compare/velocimacro2.cmp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- velocimacro2.cmp 7 Nov 2001 12:58:42 -0000 1.4
+++ velocimacro2.cmp 23 Feb 2002 10:53:01 -0000 1.5
@@ -21,7 +21,10 @@
Hello from foo2 : bar
- <td align=center class=v10><b>#</b></td>
+ <td align=center class=v10><b>#</b></td>
<td align=center class=v10><b> # </b></td>
<td align=center class=v10><b>\#</b></td>
+
+
+ hi victor
\ No newline at end of file
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>