Skip to content

Commit 327af4a

Browse files
committed
Generalize error type in special tests
1 parent e0f4bf1 commit 327af4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/special.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Random.seed!(1)
7979
end
8080
A = UpperTriangular(triu(rand(n,n)))
8181
for newtype in [Diagonal, Bidiagonal, Tridiagonal, SymTridiagonal]
82-
@test_throws ArgumentError convert(newtype,A)
82+
@test_throws Union{ArgumentError,InexactError} convert(newtype,A)
8383
end
8484

8585

0 commit comments

Comments
 (0)