Oops. Properly handle empty switch statements.
This commit is contained in:
4
unittests/switch_empty.chai
Normal file
4
unittests/switch_empty.chai
Normal file
@@ -0,0 +1,4 @@
|
||||
switch(true) { }
|
||||
|
||||
// We just have to get here without error for success
|
||||
assert_equal(true, true);
|
Reference in New Issue
Block a user