Skip to content

Commit 8703152

Browse files
authored
Update test/higherorderfns.jl
1 parent fd686e7 commit 8703152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/higherorderfns.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ using SparseArrays.HigherOrderFns: SparseVecStyle, SparseMatStyle
670670
end
671671
@test err isa MethodError
672672
@test !occursin("is ambiguous", sprint(showerror, err))
673-
@test occursin("no method matching for call to _copy(::typeof(rand))", sprint(showerror, err))
673+
@test err.f === SparseArrays.HigherOrderFns._copy
674674
end
675675

676676
@testset "Sparse outer product, for type $T and vector $op" for

0 commit comments

Comments
 (0)