We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ceaaae commit 5669d63Copy full SHA for 5669d63
stdlib/SparseArrays/test/higherorderfns.jl
@@ -709,8 +709,8 @@ end
709
@test extrema(f, x) == extrema(f, y)
710
@test extrema(spzeros(n, n)) == (0.0, 0.0)
711
@test extrema(spzeros(n)) == (0.0, 0.0)
712
- @test_throws ArgumentError extrema(spzeros(0, 0))
713
- @test_throws ArgumentError extrema(spzeros(0))
+ @test_throws "reducing over an empty" extrema(spzeros(0, 0))
+ @test_throws "reducing over an empty" extrema(spzeros(0))
714
@test extrema(sparse(ones(n, n))) == (1.0, 1.0)
715
@test extrema(sparse(ones(n))) == (1.0, 1.0)
716
@test extrema(A; dims=:) == extrema(B; dims=:)
0 commit comments