From ed2e640dbdff88fe118d943fa0ea9ae00eb11555 Mon Sep 17 00:00:00 2001
From: Restioson <restiosondev@gmail.com>
Date: Tue, 24 Aug 2021 23:51:05 +0200
Subject: Add test case for matching on Option<bool>

---
 testing/templates/match-opt-bool.html | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 testing/templates/match-opt-bool.html

(limited to 'testing/templates')

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 %}
-- 
cgit