Skip to content

Commit 674351e

Browse files
authored
test fix
1 parent 38573b6 commit 674351e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/abstractarray.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,9 +997,9 @@ end
997997
end
998998

999999
i = CartesianIndex(17,-2)
1000-
@test CR .+ i === i .+ CR === CartesianIndices((19:21, -1:3)) == collect(CR .+ i)
1000+
@test CR .+ i === i .+ CR === CartesianIndices((19:21, -1:3)) == collect(CR) .+ i
10011001
@test CR .- i === CartesianIndices((-15:-13, 3:7)) == collect(CR) .- i
1002-
@test collect(i .- CR) == Ref(i) .- collect(CR)
1002+
@test collect(i .- CR) == Ref(i) .- collect(CR) == i .- collect(CR)
10031003
end
10041004

10051005
@testset "issue #25770" begin

0 commit comments

Comments
 (0)