Skip to content

Commit

Permalink
add tests for JuliaLang#36325
Browse files Browse the repository at this point in the history
  • Loading branch information
Moelf committed Jul 11, 2020
1 parent 5c1d1cc commit 0bed290
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/errorshow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -725,3 +725,13 @@ let bt = try
@test occursin(" include(", bt_str)
@test !occursin(" _include(", bt_str)
end

# 1d/2d error shouldn't appear in unsupported keywords arg #36325
let err = nothing
try
identity([1,1]; bad_kwards = :julia)
catch err
err_str = sprint(showerror, err)
@test !occursin("2d", err_str)
end
end

0 comments on commit 0bed290

Please sign in to comment.