diff --git a/test/dates/ranges.jl b/test/dates/ranges.jl index 49a0f65f95bd6..e299b5fd4e014 100644 --- a/test/dates/ranges.jl +++ b/test/dates/ranges.jl @@ -536,5 +536,5 @@ a = Dates.Time(23,1,1) @test map(x->a in x,drs[1:4]) == [true,true,false,true] @test a in dr -@test all(x->sort(x) == (step(x) < zero(step(x)) ? reverse(x) : x),drs) -@test all(x->step(x) < zero(step(x)) ? issorted(reverse(x)) : issorted(x),drs) +@test all(x->sort(x) == (step(x) < zero(step(x)) ? reverse(x) : x), drs) +@test all(x->step(x) < zero(step(x)) ? issorted(reverse(x)) : issorted(x), drs)