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