From 39467a8700a62419cde5e13cb7b0226b34658e13 Mon Sep 17 00:00:00 2001 From: Frames White Date: Fri, 24 Nov 2023 11:52:18 +0800 Subject: [PATCH] style --- test/unzipped.jl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/test/unzipped.jl b/test/unzipped.jl index a0da38cb0..a7071d4f6 100644 --- a/test/unzipped.jl +++ b/test/unzipped.jl @@ -92,7 +92,13 @@ using ChainRules: unzip_broadcast, unzip #, unzip_map # depending on Julia version may get ReinterpretArray or may get JLArray # Either is acceptable - @test unzip(jl([(missing,2), (missing,4), (missing,6)]))[2] isa Union{Base.ReinterpretArray, JLArray} - @test unzip(jl([(1,), (3,), (5,)]))[1] isa Union{Base.ReinterpretArray, JLArray} + @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} + ) end end