Skip to content

Commit

Permalink
Fix test failures with Julia nightly (#1163)
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero authored May 13, 2023
1 parent dce8c1c commit 3e74bde
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/initializers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ end
@test Base.typed_vcat(Union{}) isa Vector{Union{}}
@test Base.typed_hcat(Union{}) isa Vector{Union{}}
@test Base.typed_hvcat(Union{}, ()) isa Vector{Union{}}
@test_throws MethodError Union{}[1]
@test_throws MethodError Union{}[1 2]
@test_throws MethodError Union{}[1; 2]
@test_throws MethodError Union{}[1 2; 3 4]
@test_throws Union{MethodError, ArgumentError} Union{}[1]
@test_throws Union{MethodError, ArgumentError} Union{}[1 2]
@test_throws Union{MethodError, ArgumentError} Union{}[1; 2]
@test_throws Union{MethodError, ArgumentError} Union{}[1 2; 3 4]

end

0 comments on commit 3e74bde

Please sign in to comment.