Skip to content

Commit 852fcd6

Browse files
committed
Issue info that test depwarn is expected
1 parent 8f0a8a2 commit 852fcd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/indexing.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ D[1,1,1,1,1] = 10
3737

3838
# Linear indexing across multiple dimensions drops tracking of those dims
3939
@test A[:].axes[1].val == 1:length(A)
40+
# TODO: remove the next 4 lines when we no longer feel we need to test for this
41+
VERSION >= v"0.6.0-dev" && info("partial linear indexing deprecation warning is expected")
4042
B = A[1:2,:]
4143
@test B.axes[1].val == A.axes[1].val[1:2]
4244
@test B.axes[2].val == 1:Base.trailingsize(A,2)

0 commit comments

Comments
 (0)