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