Skip to content

Commit

Permalink
Generalize exception type (#59)
Browse files Browse the repository at this point in the history
In preparation for JuliaLang/julia#41885
  • Loading branch information
timholy authored Sep 29, 2021
1 parent cd91162 commit ee3f7ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_basics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ end
add = InitialValues.AdjoinIdentity(+)
@test add !== (+)
@test Base.reduce_empty(add, Int) == 0
@test_throws ArgumentError Base.reduce_empty(absmin, Int)
@test_throws Union{ArgumentError,MethodError} Base.reduce_empty(absmin, Int)
end

end # module

0 comments on commit ee3f7ce

Please sign in to comment.