aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/test/resources/templates/foreach-null-list.vm
blob: dbaacdc5730aae11b0bd7a93509935b84962ffee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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