diff options
Diffstat (limited to 'spec/inputs/switch.yue')
-rw-r--r-- | spec/inputs/switch.yue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/inputs/switch.yue b/spec/inputs/switch.yue index 442d15f..cb1eb31 100644 --- a/spec/inputs/switch.yue +++ b/spec/inputs/switch.yue | |||
@@ -101,7 +101,7 @@ do | |||
101 | print "Object A" | 101 | print "Object A" |
102 | when ClassB | 102 | when ClassB |
103 | print "Object B" | 103 | print "Object B" |
104 | when #: mt | 104 | when <>: mt |
105 | print "A table with metatable" | 105 | print "A table with metatable" |
106 | else | 106 | else |
107 | print "item not accepted!" | 107 | print "item not accepted!" |
@@ -156,7 +156,7 @@ do | |||
156 | 156 | ||
157 | do | 157 | do |
158 | switch y | 158 | switch y |
159 | when {x: #: mt} | 159 | when {x: <>: mt} |
160 | print mt | 160 | print mt |
161 | 161 | ||
162 | nil | 162 | nil |