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