diff options
Diffstat (limited to 'velocity-engine-core/src/test/resources/templates/foreach-null-list.vm')
-rw-r--r-- | velocity-engine-core/src/test/resources/templates/foreach-null-list.vm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/velocity-engine-core/src/test/resources/templates/foreach-null-list.vm b/velocity-engine-core/src/test/resources/templates/foreach-null-list.vm new file mode 100644 index 00000000..dbaacdc5 --- /dev/null +++ b/velocity-engine-core/src/test/resources/templates/foreach-null-list.vm @@ -0,0 +1,17 @@ +#* + +@test foreach-null-list.vm + +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 +test doesn't fail incorrectly. + +*# + +Foreach with a list that contains null. + +#foreach ($element in $nullList) + This is $element. + $foreach.count +#end |