aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/test/resources/templates/vm_test1.vm
diff options
context:
space:
mode:
Diffstat (limited to 'velocity-engine-core/src/test/resources/templates/vm_test1.vm')
-rw-r--r--velocity-engine-core/src/test/resources/templates/vm_test1.vm16
1 files changed, 16 insertions, 0 deletions
diff --git a/velocity-engine-core/src/test/resources/templates/vm_test1.vm b/velocity-engine-core/src/test/resources/templates/vm_test1.vm
new file mode 100644
index 00000000..31f336a6
--- /dev/null
+++ b/velocity-engine-core/src/test/resources/templates/vm_test1.vm
@@ -0,0 +1,16 @@
+#**
+
+@test vm_test1.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.
+
+Tests VM recursion. In our VM library, we have a VM callrecurse()
+which calls recurse(). The point is to have the global def of
+recurse() called since we don't define it here.
+
+*#
+
+#callrecurse()