diff --git a/test/build_function_tests/stencil-broadcast-inplace.jl b/test/build_function_tests/stencil-broadcast-inplace.jl index 38f42da0e..8e7331058 100644 --- a/test/build_function_tests/stencil-broadcast-inplace.jl +++ b/test/build_function_tests/stencil-broadcast-inplace.jl @@ -5,8 +5,8 @@ ˍ₋out_1 = (view)(ˍ₋out, 1:6, 1:6) ˍ₋out_1 .= 0 ˍ₋out_2 = (view)(ˍ₋out, 2:5, 2:5) - for (j, j′) = zip(1:4, reset_to_one(1:4)) - for (i, i′) = zip(1:4, reset_to_one(1:4)) + for (j, j′) = zip(Base.OneTo(4), reset_to_one(Base.OneTo(4))) + for (i, i′) = zip(Base.OneTo(4), reset_to_one(Base.OneTo(4))) ˍ₋out_2[i′, j′] = (+)(ˍ₋out_2[i′, j′], (+)(1, (getindex)(ˍ₋out_2_input_1, i, j))) end end diff --git a/test/build_function_tests/stencil-broadcast-outplace.jl b/test/build_function_tests/stencil-broadcast-outplace.jl index bad408e69..2d2b6d2aa 100644 --- a/test/build_function_tests/stencil-broadcast-outplace.jl +++ b/test/build_function_tests/stencil-broadcast-outplace.jl @@ -4,8 +4,8 @@ ˍ₋out_1 = (view)(ˍ₋out, 1:6, 1:6) ˍ₋out_1 .= 0 ˍ₋out_2 = (view)(ˍ₋out, 2:5, 2:5) - for (j, j′) = zip(1:4, reset_to_one(1:4)) - for (i, i′) = zip(1:4, reset_to_one(1:4)) + for (j, j′) = zip(Base.OneTo(4), reset_to_one(Base.OneTo(4))) + for (i, i′) = zip(Base.OneTo(4), reset_to_one(Base.OneTo(4))) ˍ₋out_2[i′, j′] = (+)(ˍ₋out_2[i′, j′], (+)(1, (getindex)(ˍ₋out_2_input_1, i, j))) end end diff --git a/test/build_function_tests/transpose-inplace.jl b/test/build_function_tests/transpose-inplace.jl index d3b7d5c0f..3e139301e 100644 --- a/test/build_function_tests/transpose-inplace.jl +++ b/test/build_function_tests/transpose-inplace.jl @@ -1,5 +1,5 @@ :(function (x,) - let ˍ₋out = zeros(Float64, map(length, (1:4, 1:4))) + let ˍ₋out = zeros(Float64, map(length, (Base.OneTo(4), Base.OneTo(4)))) begin for (j, j′) = zip(1:4, reset_to_one(1:4)) for (i, i′) = zip(1:4, reset_to_one(1:4))