aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/test/resources/templates/foreach-method.vm
diff options
context:
space:
mode:
Diffstat (limited to 'velocity-engine-core/src/test/resources/templates/foreach-method.vm')
-rw-r--r--velocity-engine-core/src/test/resources/templates/foreach-method.vm16
1 files changed, 16 insertions, 0 deletions
diff --git a/velocity-engine-core/src/test/resources/templates/foreach-method.vm b/velocity-engine-core/src/test/resources/templates/foreach-method.vm
new file mode 100644
index 00000000..ae0e4e12
--- /dev/null
+++ b/velocity-engine-core/src/test/resources/templates/foreach-method.vm
@@ -0,0 +1,16 @@
+#*
+
+@test foreach-method.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 method.
+
+#foreach ($element in $provider.getCustomers())
+ This is $element.
+#end