Skip to content

Commit

Permalink
Merge pull request #17988 from ranjanan/RA/parse
Browse files Browse the repository at this point in the history
Write up test for #15592
  • Loading branch information
JeffBezanson authored Aug 15, 2016
2 parents 733b761 + 55e016d commit 5e58247
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/parse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -662,3 +662,8 @@ end

# issue #17701
@test expand(:(i==3 && i+=1)) == Expr(:error, "invalid assignment location \"==(i,3)&&i\"")

# PR #15592
let str = "[1] [2]"
@test_throws ParseError parse(str)
end

0 comments on commit 5e58247

Please sign in to comment.