aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates/match-literal.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testing/templates/match-literal.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/templates/match-literal.html b/testing/templates/match-literal.html
new file mode 100644
index 0000000..22203f4
--- /dev/null
+++ b/testing/templates/match-literal.html
@@ -0,0 +1,8 @@
+{% match item %}
+{% when "foo" %}
+Found literal foo
+{% when "bar" %}
+Found literal bar
+{% else %}
+Else found {{item}}
+{% endmatch %}