Skip to content

Commit

Permalink
no longer explicitly print some things in white (JuliaLang/julia#42864)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5eae688)
  • Loading branch information
KristofferC committed Oct 31, 2021
1 parent 2f4543d commit e9130cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,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 @@ -991,7 +991,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 e9130cd

Please sign in to comment.