mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 19:34:27 -05:00
adding other implicit indentation/call/object test.
This commit is contained in:
@@ -193,4 +193,15 @@ ok obj.one[2].a is 'b'
|
||||
ok (key for key of obj.red).length is 2
|
||||
ok obj.red.orange.yellow.green is 'blue'
|
||||
ok obj.red.indigo is 'violet'
|
||||
ok obj.misdent.toString() is ',,,'
|
||||
ok obj.misdent.toString() is ',,,'
|
||||
|
||||
second = (x, y) -> y
|
||||
obj = then second 'the',
|
||||
one: 1
|
||||
two:
|
||||
three: ->
|
||||
four five,
|
||||
six: seven
|
||||
three: 3
|
||||
|
||||
ok obj.three is 3
|
||||
Reference in New Issue
Block a user