diff options
Diffstat (limited to 'spec/inputs/switch.yue')
-rw-r--r-- | spec/inputs/switch.yue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/inputs/switch.yue b/spec/inputs/switch.yue index 36f9be6..04bb02e 100644 --- a/spec/inputs/switch.yue +++ b/spec/inputs/switch.yue | |||
@@ -139,10 +139,10 @@ do | |||
139 | "#{a + b}" | 139 | "#{a + b}" |
140 | when 1, 2, 3, 4, 5 | 140 | when 1, 2, 3, 4, 5 |
141 | "number 1 - 5" | 141 | "number 1 - 5" |
142 | when {:alwaysMatch = "fallback"} | 142 | when {:matchAnyTable = "fallback"} |
143 | alwaysMatch | 143 | matchAnyTable |
144 | else | 144 | else |
145 | "should not reach here" | 145 | "should not reach here unless it is not a table" |
146 | 146 | ||
147 | nil | 147 | nil |
148 | 148 | ||