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

enhanced tests for #1099 fix

This commit is contained in:
Michael Ficarra 2011-03-27 23:42:49 -04:00
parent 9d72208d9e
commit f03bcc24ad

View file

@ -185,7 +185,8 @@ test "#768: `in` should preserve evaluation order", ->
eq 3, share
test "#1099: empty array after `in` should compile to `false`", ->
eq 5 in [], false
eq 1, [5 in []].length
eq false, do -> return 0 in []
# Chained Comparison