mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
added a test (issue #1099)
This commit is contained in:
parent
0497c0742f
commit
9d72208d9e
1 changed files with 3 additions and 0 deletions
|
@ -184,6 +184,9 @@ test "#768: `in` should preserve evaluation order", ->
|
|||
ok a() not in [b(),c()]
|
||||
eq 3, share
|
||||
|
||||
test "#1099: empty array after `in` should compile to `false`", ->
|
||||
eq 5 in [], false
|
||||
|
||||
|
||||
# Chained Comparison
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue