Skip to content

Commit 129e29f

Browse files
committed
Test wrappers explicitly
1 parent e1f0571 commit 129e29f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/adjtrans.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -812,11 +812,11 @@ end
812812
@testset "fillstored!" begin
813813
A = rand(ComplexF64, 4, 4)
814814
U = UpperTriangular(A)
815-
@testset for op in (adjoint, transpose)
815+
@testset for (op, f) in ((Adjoint, adjoint), (Transpose, transpose))
816816
@test LinearAlgebra.fillstored!(op(A), 1) == op(fill(1, size(A)))
817-
@test LinearAlgebra.fillstored!(op(A), 2im) == op(fill(op(2im), size(A)))
817+
@test LinearAlgebra.fillstored!(op(A), 2im) == op(fill(f(2im), size(A)))
818818
@test LinearAlgebra.fillstored!(op(U), 1) == op(triu(fill(1, size(U))))
819-
@test LinearAlgebra.fillstored!(op(U), 2im) == op(triu(fill(op(2im), size(U))))
819+
@test LinearAlgebra.fillstored!(op(U), 2im) == op(triu(fill(f(2im), size(U))))
820820
end
821821
end
822822

0 commit comments

Comments
 (0)