Skip to content

Commit 52b1b11

Browse files
committed
Test that proves jashkenas#4290 is fixed
1 parent 51c76ed commit 52b1b11

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/comments.coffee

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,3 +391,14 @@ test "#3761: Multiline comment at end of an object", ->
391391
test "#4375: UTF-8 characters in comments", ->
392392
# 智に働けば角が立つ、情に掉させば流される。
393393
ok yes
394+
395+
test "#4290: Block comments in array literals", ->
396+
arr = [
397+
### ###
398+
3
399+
###
400+
What is the meaning of life, the universe, and everything?
401+
###
402+
42
403+
]
404+
arrayEq arr, [3, 42]

0 commit comments

Comments
 (0)