Skip to content

Commit 5e58247

Browse files
authored
Merge pull request #17988 from ranjanan/RA/parse
Write up test for #15592
2 parents 733b761 + 55e016d commit 5e58247

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/parse.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,3 +662,8 @@ end
662662

663663
# issue #17701
664664
@test expand(:(i==3 && i+=1)) == Expr(:error, "invalid assignment location \"==(i,3)&&i\"")
665+
666+
# PR #15592
667+
let str = "[1] [2]"
668+
@test_throws ParseError parse(str)
669+
end

0 commit comments

Comments
 (0)