diff options
Diffstat (limited to 'testing/templates/match-enum-or.html')
-rw-r--r-- | testing/templates/match-enum-or.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/templates/match-enum-or.html b/testing/templates/match-enum-or.html new file mode 100644 index 0000000..ffd364d --- /dev/null +++ b/testing/templates/match-enum-or.html @@ -0,0 +1,8 @@ +The card is +{%- match suit %} + {%- when Suit::Clubs or Suit::Spades -%} + {{ " black" }} + {%- when Suit::Diamonds or Suit::Hearts -%} + {{ " red" }} +{%- endmatch %} + |