Skip to content

Commit 761d057

Browse files
committed
unsafe_length/indices deprecated in Julia v1.7
1 parent c825701 commit 761d057

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/test_blockviews.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ bview(a, b) = Base.invoke(view, Tuple{AbstractArray,Any}, a, b)
1212
@test last(b) == 3
1313
@test length(b) == 2
1414
@test step(b) == 1
15-
@test Base.unsafe_length(b) == 2
1615
@test axes(b) == (Base.OneTo(2),)
1716
@test Base.axes1(b) == Base.OneTo(2)
18-
@test Base.unsafe_indices(b) == (Base.OneTo(2),)
1917
@test size(b) == (2,)
2018
@test collect(b) == [2,3]
2119
@test b[1] == 2

0 commit comments

Comments
 (0)