Skip to content

Commit fd965ac

Browse files
committed
Deemphasize started at.
1 parent 0534456 commit fd965ac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ParallelTestRunner.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,10 @@ end
125125
function print_test_started(::Type{TestRecord}, wrkr, test, ctx::TestIOContext)
126126
lock(ctx.lock)
127127
try
128-
printstyled(ctx.stdout, test, color = :white)
128+
printstyled(ctx.stdout, test, lpad("($wrkr)", ctx.name_align - textwidth(test) + 1, " "), " |", color = :white)
129129
printstyled(
130130
ctx.stdout,
131-
lpad("($wrkr)", ctx.name_align - textwidth(test) + 1, " "), " |",
132-
" "^ctx.elapsed_align, "started at $(now())\n", color = :white
131+
" "^ctx.elapsed_align, "started at $(now())\n", color = :light_black
133132
)
134133
flush(ctx.stdout)
135134
finally

test/runtests.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ cd(@__DIR__)
77

88
@testset "basic test" begin
99
io = IOBuffer()
10-
runtests(["--verbose"]; stdout=io, stderr=io)
10+
io_color = IOContext(io, :color => true)
11+
runtests(["--verbose"]; stdout=io_color, stderr=io_color)
1112
str = String(take!(io))
1213

1314
println()

0 commit comments

Comments
 (0)