Skip to content

Commit b7a11bd

Browse files
committed
Do not hardcode 64-bit Int
1 parent 88e4c4c commit b7a11bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/triangular.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -961,9 +961,9 @@ end
961961
A = SizedArrays.SizedArray{(2,2)}(P)
962962
M = fill(A, 2, 2)
963963
U = UnitUpperTriangular(M)
964-
@test_throws "Cannot `convert` an object of type Int64" U[1,1] = 1
964+
@test_throws "Cannot `convert` an object of type $Int" U[1,1] = 1
965965
L = UnitLowerTriangular(M)
966-
@test_throws "Cannot `convert` an object of type Int64" L[1,1] = 1
966+
@test_throws "Cannot `convert` an object of type $Int" L[1,1] = 1
967967

968968
U = UnitUpperTriangular(P)
969969
@test_throws BoundsError U[0,0] = 1

0 commit comments

Comments
 (0)