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

adding a couple of interchangeable tests

This commit is contained in:
Jeremy Ashkenas 2010-03-21 21:07:32 -04:00
parent 80230414a2
commit 0da61ec47e

View file

@ -18,3 +18,13 @@ i: 0
func: -> i++
ok 1 > func() < 1
# `:` and `=` should be interchangeable, as should be `==` and `is`.
a: 1
b: 1
ok a is 1 and b is 1
ok a == b
ok a is b