Skip to content

Commit 1462341

Browse files
committed
Fix a test failure due to ReinterpretArray
1 parent cb751af commit 1462341

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/fixed.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ for T in (Fixed{Int8,8}, Fixed{Int16,8}, Fixed{Int16,10}, Fixed{Int32,16})
124124
a = rand(T)
125125
@test isa(a, T)
126126
a = rand(T, (3, 5))
127-
@test isa(a, Array{T,2})
127+
@test ndims(a) == 2 && eltype(a) == T
128128
@test size(a) == (3,5)
129129
end
130130

test/normed.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ for T in (Normed{UInt8,8}, Normed{UInt8,6},
297297
a = rand(T)
298298
@test isa(a, T)
299299
a = rand(T, (3, 5))
300-
@test isa(a, Array{T,2})
300+
@test ndims(a) == 2 && eltype(a) == T
301301
@test size(a) == (3,5)
302302
end
303303

0 commit comments

Comments
 (0)