Skip to content

Commit c7c03da

Browse files
committed
Red: comments inside strings are not ignored
1 parent 4dea084 commit c7c03da

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: test/languages/red_test.rb

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ def test_full_example
1919
as well}
2020
2121
function add100 [x [integer!]] [
22-
"; this should not count as comment "
23-
{ comment [and neither
24-
this] }
22+
" this should not count as comment "
23+
{ and neither
24+
this }
2525
]
2626
CODE
2727

@@ -30,9 +30,9 @@ def test_full_example
3030
x: 2
3131
x: 3
3232
function add100 [x [integer!]] [
33-
"; this should not count as comment "
34-
{ comment [and neither
35-
this] }
33+
" this should not count as comment "
34+
{ and neither
35+
this }
3636
]
3737
CODE
3838

0 commit comments

Comments
 (0)