Skip to content

Commit

Permalink
Adjust error message in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Keno committed Jul 17, 2023
1 parent f2c46c5 commit 69d7385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/syntax.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3524,7 +3524,7 @@ end,quote
end)
let exc = try eval(expr); catch exc; exc end
@test isa(exc, ErrorException)
@test startswith(exc.msg, "syntax: Splatting in non-final positional default")
@test startswith(exc.msg, "syntax: invalid \"...\" in non-final positional argument default value")
end
end

Expand Down

0 comments on commit 69d7385

Please sign in to comment.