Skip to content

Commit 3e74bde

Browse files
authored
Fix test failures with Julia nightly (#1163)
1 parent dce8c1c commit 3e74bde

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/initializers.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ end
5858
@test Base.typed_vcat(Union{}) isa Vector{Union{}}
5959
@test Base.typed_hcat(Union{}) isa Vector{Union{}}
6060
@test Base.typed_hvcat(Union{}, ()) isa Vector{Union{}}
61-
@test_throws MethodError Union{}[1]
62-
@test_throws MethodError Union{}[1 2]
63-
@test_throws MethodError Union{}[1; 2]
64-
@test_throws MethodError Union{}[1 2; 3 4]
61+
@test_throws Union{MethodError, ArgumentError} Union{}[1]
62+
@test_throws Union{MethodError, ArgumentError} Union{}[1 2]
63+
@test_throws Union{MethodError, ArgumentError} Union{}[1; 2]
64+
@test_throws Union{MethodError, ArgumentError} Union{}[1 2; 3 4]
6565

6666
end

0 commit comments

Comments
 (0)