From 57e384327b099b6006d1688223e6c2f8612a60a5 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Tue, 4 Oct 2022 08:15:08 -0400 Subject: [PATCH] test fix --- test/abstractarray.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/abstractarray.jl b/test/abstractarray.jl index 9d9c7d54bac40..4928f35f5fad0 100644 --- a/test/abstractarray.jl +++ b/test/abstractarray.jl @@ -993,9 +993,9 @@ end end i = CartesianIndex(17,-2) - @test CR .+ i === i .+ CR === CartesianIndices((19:21, -1:3)) == collect(CR .+ i) + @test CR .+ i === i .+ CR === CartesianIndices((19:21, -1:3)) == collect(CR) .+ i @test CR .- i === CartesianIndices((-15:-13, 3:7)) == collect(CR) .- i - @test collect(i .- CR) == Ref(i) .- collect(CR) + @test collect(i .- CR) == Ref(i) .- collect(CR) == i .- collect(CR) end @testset "issue #25770" begin