Skip to content

Commit ee3f7ce

Browse files
authored
Generalize exception type (#59)
In preparation for JuliaLang/julia#41885
1 parent cd91162 commit ee3f7ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_basics.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ end
9999
add = InitialValues.AdjoinIdentity(+)
100100
@test add !== (+)
101101
@test Base.reduce_empty(add, Int) == 0
102-
@test_throws ArgumentError Base.reduce_empty(absmin, Int)
102+
@test_throws Union{ArgumentError,MethodError} Base.reduce_empty(absmin, Int)
103103
end
104104

105105
end # module

0 commit comments

Comments
 (0)