From 9201414b3d8a2ed2419e463a73e4cd67cf1f1733 Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Fri, 5 May 2023 13:36:15 -0400 Subject: [PATCH] fix whitespace in test/ranges.jl (#49648) --- test/ranges.jl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/ranges.jl b/test/ranges.jl index 2a7a4d3170d67..ec69c57fc0a8f 100644 --- a/test/ranges.jl +++ b/test/ranges.jl @@ -2442,16 +2442,16 @@ end end @testset "PR 49516" begin - struct PR49516 <: Signed - n::Int - end - PR49516(f::PR49516) = f - Base.:*(x::Integer, f::PR49516) = PR49516(*(x, f.n)) - Base.:+(f1::PR49516, f2::PR49516) = PR49516(+(f1.n, f2.n)) - Base.show(io::IO, f::PR49516) = print(io, "PR49516(", f.n, ")") - - srl = StepRangeLen(PR49516(1), PR49516(2), 10) - @test sprint(show, srl) == "PR49516(1):PR49516(2):PR49516(19)" + struct PR49516 <: Signed + n::Int + end + PR49516(f::PR49516) = f + Base.:*(x::Integer, f::PR49516) = PR49516(*(x, f.n)) + Base.:+(f1::PR49516, f2::PR49516) = PR49516(+(f1.n, f2.n)) + Base.show(io::IO, f::PR49516) = print(io, "PR49516(", f.n, ")") + + srl = StepRangeLen(PR49516(1), PR49516(2), 10) + @test sprint(show, srl) == "PR49516(1):PR49516(2):PR49516(19)" end @testset "Inline StepRange Construction #49270" begin