Skip to content

Commit 747acfe

Browse files
committed
Fix tests
1 parent 4125ff2 commit 747acfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_basics.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,11 +1172,11 @@ arrayts = (Array, JLArray)
11721172
@test isstored(a)
11731173
@test isone(blockstoredlength(a))
11741174
@test issetequal(eachblockstoredindex(a), [Block()])
1175-
@test iszero(a)
1175+
@test iszero(adapt(Array)(a))
11761176
@test b isa arrayt{elt,0}
11771177
@test size(b) == ()
11781178
# Converting to `Array` works around a bug in `iszero(JLArray{Float64}(undef))`.
1179-
@test iszero(Array(b))
1179+
@test iszero(adapt(Array)(b))
11801180
end
11811181
end
11821182
@testset "LinearAlgebra" begin

0 commit comments

Comments
 (0)