added a test (issue #1099)

This commit is contained in:
Jann Horn
2011-03-27 21:35:29 +02:00
parent 0497c0742f
commit 9d72208d9e

View File

@@ -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