Skip to content

Commit

Permalink
Disable an at-views test to avoid a partial linear indexing depwarn. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Sacha0 authored and tkelman committed Jan 26, 2017
1 parent 876549f commit 1303dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/subarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ end
@test X[1:end] == @views X[1:end]
@test X[1:end-3] == @views X[1:end-3]
@test X[1:end,2,2] == @views X[1:end,2,2]
@test X[1,1:end-2] == @views X[1,1:end-2]
# @test X[1,1:end-2] == @views X[1,1:end-2] # TODO: Re-enable after partial linear indexing deprecation
@test X[1,2,1:end-2] == @views X[1,2,1:end-2]
@test X[1,2,Y[2:end]] == @views X[1,2,Y[2:end]]
@test X[1:end,2,Y[2:end]] == @views X[1:end,2,Y[2:end]]
Expand Down

0 comments on commit 1303dfb

Please sign in to comment.