Skip to content

Commit

Permalink
no longer explicitly print some things in white (JuliaLang#42864)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored and LilithHafner committed Feb 22, 2022
1 parent 128ceca commit 56ccb55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/Test/src/Test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ record(ts::DefaultTestSet, t::Pass) = (ts.n_passed += 1; t)
# but do not terminate. Print a backtrace.
function record(ts::DefaultTestSet, t::Union{Fail, Error})
if TESTSET_PRINT_ENABLE[]
printstyled(ts.description, ": ", color=:white)
print(ts.description, ": ")
# don't print for interrupted tests
if !(t isa Error) || t.test_type !== :test_interrupted
print(t)
Expand Down Expand Up @@ -1049,7 +1049,7 @@ function print_test_results(ts::DefaultTestSet, depth_pad=0)
align = max(get_alignment(ts, 0), length("Test Summary:"))
# Print the outer test set header once
pad = total == 0 ? "" : " "
printstyled(rpad("Test Summary:", align, " "), " |", pad; bold=true, color=:white)
printstyled(rpad("Test Summary:", align, " "), " |", pad; bold=true)
if pass_width > 0
printstyled(lpad("Pass", pass_width, " "), " "; bold=true, color=:green)
end
Expand Down

0 comments on commit 56ccb55

Please sign in to comment.