Skip to content

Commit a79eccf

Browse files
committed
make sure function is covered
1 parent 5ad32d6 commit a79eccf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎test/allocator.jl‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ using LinearAlgebra
5959
@test cp0 == 0
6060

6161
# Allocate some tensors
62-
t1 = tensoralloc(Array{UInt8, 2}, (10, 10), Val(true), buffer) # should fit
63-
@test t1 isa Array{UInt8, 2}
64-
@test size(t1) == (10, 10)
62+
t1 = tensoralloc(Vector{UInt8}, 100, Val(true), buffer) # should fit
63+
@test t1 isa Vector{UInt8}
64+
@test size(t1) == (100,)
6565
cp1 = allocator_checkpoint!(buffer)
6666
@test cp1 > cp0
6767
# Verify pointer backing from buffer

0 commit comments

Comments
 (0)