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.yue5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/inputs/switch.yue b/spec/inputs/switch.yue
index 04bb02e..9e7ecfd 100644
--- a/spec/inputs/switch.yue
+++ b/spec/inputs/switch.yue
@@ -144,5 +144,10 @@ do
144 else 144 else
145 "should not reach here unless it is not a table" 145 "should not reach here unless it is not a table"
146 146
147do
148 switch y
149 when {x: #:mt}
150 print mt
151
147nil 152nil
148 153