diff --git a/test/rulesets/Base/indexing.jl b/test/rulesets/Base/indexing.jl index ab2ded33e..d8ba38ba0 100644 --- a/test/rulesets/Base/indexing.jl +++ b/test/rulesets/Base/indexing.jl @@ -21,8 +21,8 @@ rrule_test(getindex, [2.3 3.1; 4.1 5.1], (x, x̄), (1:2, nothing), (2:3, nothing)) rrule_test(getindex, [2.3 3.1; 4.1 5.1], (x, x̄), (:, nothing), (2:3, nothing)) - rrule_test(getindex, [2.3, 3.1], (x, x̄), (2:3, nothing), (1, nothing)) - rrule_test(getindex, [2.3, 3.1], (x, x̄), (1, nothing), (2:3, nothing)) + rrule_test(getindex, [2.3, 3.1], (x, x̄), (1:2, nothing), (1, nothing)) + rrule_test(getindex, [2.3, 3.1], (x, x̄), (1, nothing), (1:2, nothing)) rrule_test(getindex, [2.3 3.1; 4.1 5.1], (x, x̄), (1:2, nothing), (2:3, nothing)) rrule_test(getindex, [2.3 3.1; 4.1 5.1], (x, x̄), (:, nothing), (2:3, nothing))