Skip to content

Commit 6aea2ab

Browse files
committed
Update basic_indexing.jl
add test
1 parent 1fc5cd1 commit 6aea2ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/basic_indexing.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,3 +257,6 @@ foo!(u_vector)
257257
# test efficiency
258258
num_allocs = @allocations foo!(u_matrix)
259259
@test num_allocs == 0
260+
261+
# issue 354
262+
@test VectorOfArray(ones(1))[:] == ones(1)

0 commit comments

Comments
 (0)