mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
46 lines
341 B
CoffeeScript
46 lines
341 B
CoffeeScript
a: """
|
|
basic heredoc
|
|
on two lines
|
|
"""
|
|
|
|
ok a is "basic heredoc\non two lines"
|
|
|
|
|
|
a: '''
|
|
a
|
|
"b
|
|
c
|
|
'''
|
|
|
|
ok a is "a\n \"b\nc"
|
|
|
|
|
|
a: '''one-liner'''
|
|
|
|
ok a is 'one-liner'
|
|
|
|
|
|
a: """
|
|
out
|
|
here
|
|
"""
|
|
|
|
ok a is "out\nhere"
|
|
|
|
|
|
a: '''
|
|
a
|
|
b
|
|
c
|
|
'''
|
|
|
|
ok a is " a\n b\nc"
|
|
|
|
a: '''
|
|
a
|
|
|
|
|
|
b c
|
|
'''
|
|
|
|
ok a is "a\n\n\nb c"
|