From 37fc32139c234cb295f02a7fa04f569e3293b9bd Mon Sep 17 00:00:00 2001 From: Lilith Orion Hafner <60898866+LilithHafner@users.noreply.github.com> Date: Sun, 20 Feb 2022 08:31:47 -0600 Subject: [PATCH] update usage of sort_int_range! in test to add lo, hi --- test/sorting.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/sorting.jl b/test/sorting.jl index e32cba2d37bbff..e3abfd4e15d626 100644 --- a/test/sorting.jl +++ b/test/sorting.jl @@ -661,11 +661,11 @@ end @test issorted(a) a = view([9:-1:0;], :)::SubArray - Base.Sort.sort_int_range!(a, 10, 0) # test it supports non-Vector + Base.Sort.sort_int_range!(a, firstindex(a), lastindex(a), 10, 0) # test it supports non-Vector @test issorted(a) a = OffsetArray([9:-1:0;], -5) - Base.Sort.sort_int_range!(a, 10, 0) + Base.Sort.sort_int_range!(a, firstindex(a), lastindex(a), 10, 0) @test issorted(a) end