mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
adding a top-level object literal test for Issue #542
This commit is contained in:
parent
c2ec40e6ce
commit
cb52be6475
1 changed files with 4 additions and 0 deletions
|
@ -96,6 +96,10 @@ ok obj.is()
|
||||||
ok not obj.not()
|
ok not obj.not()
|
||||||
|
|
||||||
|
|
||||||
|
# Top-level object literal doesn't break things.
|
||||||
|
obj: 1
|
||||||
|
|
||||||
|
|
||||||
# Funky indentation within non-comma-seperated arrays.
|
# Funky indentation within non-comma-seperated arrays.
|
||||||
result = [['a']
|
result = [['a']
|
||||||
{b: 'c'}]
|
{b: 'c'}]
|
||||||
|
|
Loading…
Add table
Reference in a new issue