diff options
Diffstat (limited to '')
-rw-r--r-- | testing/templates/match-opt-bool.html | 8 |
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 %} |