Skip to content

Commit 9c7b5e3

Browse files
committed
Add test
1 parent 871f508 commit 9c7b5e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_basics.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ arrayts = (Array, JLArray)
9797
@test iszero(blockstoredlength(a))
9898
@test iszero(storedlength(a))
9999
end
100+
T != BlockSparseArray{elt} && @test_throws ArgumentError T(undef, bs[1:1])
100101
end
101102

102103
# BlockSparseVector

0 commit comments

Comments
 (0)