Skip to content

Commit 1235c89

Browse files
committed
Do not hardcode 64-bit Int
1 parent bb648e4 commit 1235c89

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
@@ -993,9 +993,9 @@ end
993993
A = SizedArrays.SizedArray{(2,2)}(P)
994994
M = fill(A, 2, 2)
995995
U = UnitUpperTriangular(M)
996-
@test_throws "Cannot `convert` an object of type Int64" U[1,1] = 1
996+
@test_throws "Cannot `convert` an object of type $Int" U[1,1] = 1
997997
L = UnitLowerTriangular(M)
998-
@test_throws "Cannot `convert` an object of type Int64" L[1,1] = 1
998+
@test_throws "Cannot `convert` an object of type $Int" L[1,1] = 1
999999

10001000
U = UnitUpperTriangular(P)
10011001
@test_throws BoundsError U[0,0] = 1

0 commit comments

Comments
 (0)