mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
allowing comments in the middle of switch statements
This commit is contained in:
6
test/fixtures/execution/test_switch.coffee
vendored
6
test/fixtures/execution/test_switch.coffee
vendored
@@ -7,7 +7,11 @@ result: switch num
|
||||
true
|
||||
false
|
||||
when 10 then true
|
||||
|
||||
|
||||
# Mid-switch comment with whitespace
|
||||
# and multi line
|
||||
when 11 then false
|
||||
else false
|
||||
|
||||
|
||||
print(result)
|
||||
|
||||
Reference in New Issue
Block a user