aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/switch.yue
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs/switch.yue')
-rw-r--r--spec/inputs/switch.yue6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/inputs/switch.yue b/spec/inputs/switch.yue
index cb1eb31..49d47f3 100644
--- a/spec/inputs/switch.yue
+++ b/spec/inputs/switch.yue
@@ -159,5 +159,11 @@ do
159 when {x: <>: mt} 159 when {x: <>: mt}
160 print mt 160 print mt
161 161
162do
163 switch tb
164 when [ [item,],]
165 print item
166 when [a = 1, b = "abc"]
167 print a, b
162nil 168nil
163 169