mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
node conversion finished, narwhal removed.
This commit is contained in:
10
test/fixtures/execution/test_switch.coffee
vendored
10
test/fixtures/execution/test_switch.coffee
vendored
@@ -14,7 +14,7 @@ result: switch num
|
||||
when 11 then false
|
||||
else false
|
||||
|
||||
print result
|
||||
puts result
|
||||
|
||||
func: (num) ->
|
||||
switch num
|
||||
@@ -24,7 +24,7 @@ func: (num) ->
|
||||
false
|
||||
else false
|
||||
|
||||
print func(2)
|
||||
print func(6)
|
||||
print !func(3)
|
||||
print !func(8)
|
||||
puts func(2)
|
||||
puts func(6)
|
||||
puts !func(3)
|
||||
puts !func(8)
|
||||
|
||||
Reference in New Issue
Block a user