Skip to content

Commit 3b5ddf9

Browse files
committed
Fix some tests
1 parent 0051c4c commit 3b5ddf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_blockarrays.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ end
333333
@test size(ret) == ()
334334
@test all(iszero, ret)
335335
@test ret[Block()] == zeros()
336-
@test ret[Block()[]] == zeros()
336+
@test ret[Block()[]] == 0
337337
@test ret[] == 0
338338
@test view(ret, Block()) == zeros()
339339
@test Array(ret) == zeros()
@@ -360,7 +360,7 @@ end
360360
@test all(iszero, ret)
361361
@test ret[] == 0
362362
@test ret[Block()] == zeros()
363-
@test ret[Block()[]] == zeros()
363+
@test ret[Block()[]] == 0
364364
@test Array(ret) == zeros()
365365
ret[] = 1
366366
@test ret[] == 1

0 commit comments

Comments
 (0)