mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-16 18:44:56 -05:00
fixing heredocs with multiple double quotes (broken regex from the Ruby translation), with tests.
This commit is contained in:
@@ -36,6 +36,7 @@ a: '''
|
||||
|
||||
ok a is " a\n b\nc"
|
||||
|
||||
|
||||
a: '''
|
||||
a
|
||||
|
||||
@@ -44,3 +45,8 @@ b c
|
||||
'''
|
||||
|
||||
ok a is "a\n\n\nb c"
|
||||
|
||||
|
||||
a: '''more"than"one"quote'''
|
||||
|
||||
ok a is 'more"than"one"quote'
|
||||
Reference in New Issue
Block a user