Sha256: 07457a884d03f1a33716b9ff71e15ab6ebd200eb5f07bda4878bf7e0d36a4b51

Contents?: true

Size: 341 Bytes

Versions: 7

Compression:

Stored size: 341 Bytes

Contents

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"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
haml-more-0.5.1 vendor/coffee-script/test/test_heredocs.coffee
haml-more-0.5.0 vendor/coffee-script/test/test_heredocs.coffee
haml-more-0.4.0 vendor/coffee-script/test/test_heredocs.coffee
haml-more-0.4.0.d vendor/coffee-script/test/test_heredocs.coffee
haml-more-0.4.0.c vendor/coffee-script/test/test_heredocs.coffee
haml-more-0.4.0.b vendor/coffee-script/test/test_heredocs.coffee
haml-more-0.4.0.a vendor/coffee-script/test/test_heredocs.coffee