1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

better test for sans-condition switch...

This commit is contained in:
Jeremy Ashkenas 2010-05-11 09:32:16 -04:00
parent cd6ee373ff
commit 9d09bee6fb

View file

@ -66,8 +66,8 @@ ok result
# Should be able to handle switches sans-condition.
result: switch
when yes and no then 1
when yes or no then 2
when null then 1
when 'truthful string' then 2
else 3
ok result is 2
ok result is 2