Skip to content

Commit 9e09fd5

Browse files
committed
test: fix DimensionMismatch for triangular
1 parent 10d12f1 commit 9e09fd5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/triangular.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -904,12 +904,12 @@ end
904904
A = UpperTriangular(ones(T,2,2))
905905
B = ones(T,3,3)
906906
C = similar(B)
907-
@test_throws "incompatible dimensions for matrix multiplication" mul!(C, A, B)
908-
@test_throws "incompatible dimensions for matrix multiplication" mul!(C, B, A)
907+
@test_throws DimensionMismatch mul!(C, A, B)
908+
@test_throws DimensionMismatch mul!(C, B, A)
909909
B = Array(A)
910910
C = similar(B, (4,4))
911-
@test_throws "incompatible destination size" mul!(C, A, B)
912-
@test_throws "incompatible destination size" mul!(C, B, A)
911+
@test_throws DimensionMismatch mul!(C, A, B)
912+
@test_throws DimensionMismatch mul!(C, B, A)
913913
end
914914
end
915915

0 commit comments

Comments
 (0)