From bd46aea68bf048643ccf3c79c36c695cb964557f Mon Sep 17 00:00:00 2001 From: Frames White Date: Fri, 24 Nov 2023 11:54:32 +0800 Subject: [PATCH] style Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- test/unzipped.jl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/unzipped.jl b/test/unzipped.jl index a7071d4f6..224f11132 100644 --- a/test/unzipped.jl +++ b/test/unzipped.jl @@ -93,12 +93,8 @@ using ChainRules: unzip_broadcast, unzip #, unzip_map # depending on Julia version may get ReinterpretArray or may get JLArray # Either is acceptable @test isa( - unzip(jl([(missing,2), (missing,4), (missing,6)]))[2], - Union{Base.ReinterpretArray, JLArray} - ) - @test isa( - unzip(jl([(1,), (3,), (5,)]))[1], - Union{Base.ReinterpretArray, JLArray} + unzip(jl([(missing, 2), (missing, 4), (missing, 6)]))[2], + Union{Base.ReinterpretArray,JLArray}, ) end end