aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/test/resources/templates/parse1.vm
diff options
context:
space:
mode:
Diffstat (limited to 'velocity-engine-core/src/test/resources/templates/parse1.vm')
-rw-r--r--velocity-engine-core/src/test/resources/templates/parse1.vm22
1 files changed, 22 insertions, 0 deletions
diff --git a/velocity-engine-core/src/test/resources/templates/parse1.vm b/velocity-engine-core/src/test/resources/templates/parse1.vm
new file mode 100644
index 00000000..58164e7d
--- /dev/null
+++ b/velocity-engine-core/src/test/resources/templates/parse1.vm
@@ -0,0 +1,22 @@
+#*
+
+@test parse1.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.
+
+*#
+This is content from parse1.vm
+
+#foreach($a in $stringarray )
+ Hello $a.
+#end
+
+Now using a reference to get the next one :
+#set($foo = "parse2.vm")
+ --
+#parse($foo)
+ --
+done with parse1.vm