Skip to content

Commit d9e066d

Browse files
committed
Do not hardcode 64-bit Int
1 parent 988d057 commit d9e066d

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
@@ -971,9 +971,9 @@ end
971971
A = SizedArrays.SizedArray{(2,2)}(P)
972972
M = fill(A, 2, 2)
973973
U = UnitUpperTriangular(M)
974-
@test_throws "Cannot `convert` an object of type Int64" U[1,1] = 1
974+
@test_throws "Cannot `convert` an object of type $Int" U[1,1] = 1
975975
L = UnitLowerTriangular(M)
976-
@test_throws "Cannot `convert` an object of type Int64" L[1,1] = 1
976+
@test_throws "Cannot `convert` an object of type $Int" L[1,1] = 1
977977

978978
U = UnitUpperTriangular(P)
979979
@test_throws BoundsError U[0,0] = 1

0 commit comments

Comments
 (0)