add missing implicit object literal test

ref michaelficarra/CoffeeScriptRedux#266 and 670a1f5f78 (diff-2)
This commit is contained in:
Michael Ficarra
2014-01-12 11:15:59 -06:00
parent 1f301d8c07
commit 21db08a23d

View File

@@ -410,3 +410,10 @@ test "#2207: Immediate implicit closes don't close implicit objects", ->
key: for i in [1, 2, 3] then i
eq func().key.join(' '), '1 2 3'
test 'inline implicit object literals within multiline implicit object literals', ->
x =
a: aa: 0
b: 0
eq 0, x.b
eq 0, x.a.aa