mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 19:34:27 -05:00
adding a top-level object literal test for Issue #542
This commit is contained in:
@@ -96,6 +96,10 @@ ok obj.is()
|
||||
ok not obj.not()
|
||||
|
||||
|
||||
# Top-level object literal doesn't break things.
|
||||
obj: 1
|
||||
|
||||
|
||||
# Funky indentation within non-comma-seperated arrays.
|
||||
result = [['a']
|
||||
{b: 'c'}]
|
||||
|
||||
Reference in New Issue
Block a user