mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
added a test (issue #1099)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user