aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/test/resources/templates/compare/parse.cmp
diff options
context:
space:
mode:
Diffstat (limited to 'velocity-engine-core/src/test/resources/templates/compare/parse.cmp')
-rw-r--r--velocity-engine-core/src/test/resources/templates/compare/parse.cmp22
1 files changed, 22 insertions, 0 deletions
diff --git a/velocity-engine-core/src/test/resources/templates/compare/parse.cmp b/velocity-engine-core/src/test/resources/templates/compare/parse.cmp
new file mode 100644
index 00000000..45f4dd7d
--- /dev/null
+++ b/velocity-engine-core/src/test/resources/templates/compare/parse.cmp
@@ -0,0 +1,22 @@
+
+
+Test the #parse pluggable directive
+
+Now calling parse1.vm :
+---
+
+This is content from parse1.vm
+
+ Hello first element.
+ Hello second element.
+
+Now using a reference to get the next one :
+ --
+
+This is parse2.vm.
+
+ This is from a true #if.
+ --
+done with parse1.vm
+---
+all done!