1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/test/fixtures/execution/test_heredocs.coffee
Jeremy Ashkenas c8d505e85d heredoc docs
2010-01-12 00:00:38 -05:00

28 lines
No EOL
255 B
CoffeeScript

a: """
basic heredoc
on two lines
"""
print(a is "basic heredoc\non two lines")
a: '''
a
"b
c
'''
print(a is "a\n \"b\nc")
a: '''one-liner'''
print(a is 'one-liner')
a: """
out
here
"""
print(a is "out\nhere")