Skip to content

Commit

Permalink
fix 1d/2d error
Browse files Browse the repository at this point in the history
  • Loading branch information
Moelf committed Sep 6, 2020
1 parent 9c7db21 commit 53d1335
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/errorshow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -750,3 +750,12 @@ end
@test contains(bt_str, "@ $m.B.C")
@test contains(bt_str, "@ $m.B.D")
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 53d1335

Please sign in to comment.