From 89a90eb46c822957af5b6aef8615a7d7398e7de4 Mon Sep 17 00:00:00 2001 From: Anthony Nowell Date: Thu, 5 Oct 2017 21:59:51 -0600 Subject: Make match ref/deref as needed Much of this can be yanked out and made simpler when match-modes lands in stable --- testing/templates/match-literal-num.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 testing/templates/match-literal-num.html (limited to 'testing/templates') diff --git a/testing/templates/match-literal-num.html b/testing/templates/match-literal-num.html new file mode 100644 index 0000000..4864116 --- /dev/null +++ b/testing/templates/match-literal-num.html @@ -0,0 +1,6 @@ +{% match item %} +{% when 42 %} +Found answer to everything +{% else %} +Else found {{item}} +{% endmatch %} -- cgit