Skip to content

Commit

Permalink
Update test/runtests.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Weidner <[email protected]>
  • Loading branch information
longemen3000 and jw3126 authored Jul 16, 2024
1 parent 6988031 commit 2596c4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2596c4b

Please sign in to comment.