diff --git a/test/runtests.jl b/test/runtests.jl index 7ac0ccb..a93b678 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -28,7 +28,8 @@ end if !isdefined(Base,:Memory) @test getfields([]) === NamedTuple() else - @test getfields([]).size === (0,) + arr = [] + @test getfields(arr) === (;arr.ref, arr.size) end @test getfields(Empty()) === NamedTuple() @test getfields(NamedTuple()) === NamedTuple()