summaryrefslogtreecommitdiffhomepage
path: root/tests/custom/00_syntax/03_expression_blocks
diff options
context:
space:
mode:
Diffstat (limited to 'tests/custom/00_syntax/03_expression_blocks')
-rw-r--r--tests/custom/00_syntax/03_expression_blocks11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/custom/00_syntax/03_expression_blocks b/tests/custom/00_syntax/03_expression_blocks
new file mode 100644
index 0000000..3568016
--- /dev/null
+++ b/tests/custom/00_syntax/03_expression_blocks
@@ -0,0 +1,11 @@
+Testing expression blocks.
+
+-- Expect stdout --
+The result of 3 * 7 is 21.
+To escape the start tag, output it as string expression: {{
+-- End --
+
+-- Testcase --
+The result of 3 * 7 is {{ 3 * 7 }}.
+To escape the start tag, output it as string expression: {{ "{{" }}
+-- End --