aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testing/templates/match-custom-enum.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/templates/match-custom-enum.html b/testing/templates/match-custom-enum.html
index cb45b8f..bec38b9 100644
--- a/testing/templates/match-custom-enum.html
+++ b/testing/templates/match-custom-enum.html
@@ -1,6 +1,6 @@
{% match color %}
-{% when Color::Rgb with (r, g, b) %}
-Colorful: #{{ "{:02X}"|format(r) }}{{ "{:02X}"|format(g) }}{{ "{:02X}"|format(b) }}
+{% when Color::Rgb with {r, g: g, b: blue} %}
+Colorful: #{{ "{:02X}"|format(r) }}{{ "{:02X}"|format(g) }}{{ "{:02X}"|format(blue) }}
{% when Color::GrayScale with (val) %}
Gray: #{{ "{:02X}"|format(val) }}{{ "{:02X}"|format(val) }}{{ "{:02X}"|format(val) }}
{% else %}