Skip to content

Commit 669658f

Browse files
committed
Test setindex works with immutable arrays
1 parent 9c86b0e commit 669658f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/ranges.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,7 @@
104104

105105
@test ArrayInterface.static_first(Base.OneTo(one(UInt))) === static(1)
106106
@test ArrayInterface.static_step(Base.OneTo(one(UInt))) === static(1)
107+
108+
@test Base.setindex(1:5, [6,2], 1:2) == [6,2,3,4,5]
107109
end
108110

0 commit comments

Comments
 (0)