geirm       01/10/23 20:06:59

  Modified:    test/templates foreach-type.vm
               test/templates/compare foreach-type.cmp
  Log:
  Added tests for primitive arrays.
  
  Revision  Changes    Path
  1.3       +7 -0      jakarta-velocity/test/templates/foreach-type.vm
  
  Index: foreach-type.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/test/templates/foreach-type.vm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- foreach-type.vm   2001/04/08 21:16:09     1.2
  +++ foreach-type.vm   2001/10/24 03:06:59     1.3
  @@ -39,3 +39,10 @@
   #foreach($i in $enumerator)
     $i
   #end
  +
  +
  +Using an array of primitives
  +
  +#foreach( $i in $intarr )
  +  $i
  +#end
  
  
  
  1.3       +9 -0      jakarta-velocity/test/templates/compare/foreach-type.cmp
  
  Index: foreach-type.cmp
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/test/templates/compare/foreach-type.cmp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- foreach-type.cmp  2001/04/08 21:16:27     1.2
  +++ foreach-type.cmp  2001/10/24 03:06:59     1.3
  @@ -27,3 +27,12 @@
   
     string1
     string2
  +
  +
  +Using an array of primitives
  +
  +  10
  +  20
  +  30
  +  40
  +  50
  
  
  


Reply via email to