aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/test/resources/templates/loop.vm
diff options
context:
space:
mode:
Diffstat (limited to 'velocity-engine-core/src/test/resources/templates/loop.vm')
-rw-r--r--velocity-engine-core/src/test/resources/templates/loop.vm15
1 files changed, 15 insertions, 0 deletions
diff --git a/velocity-engine-core/src/test/resources/templates/loop.vm b/velocity-engine-core/src/test/resources/templates/loop.vm
new file mode 100644
index 00000000..1c5cc780
--- /dev/null
+++ b/velocity-engine-core/src/test/resources/templates/loop.vm
@@ -0,0 +1,15 @@
+#*
+
+@test loop.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 ($element in $list)
+ #set($foo = $provider.concat(["<", $element, ">"]))
+ $provider.concat("hello", $foo)
+#end