From e84a6146eb3cea3d2267fc7ec0dd46cd8594a5ca Mon Sep 17 00:00:00 2001 From: Kristoffer Date: Sat, 30 Oct 2021 10:54:18 +0200 Subject: [PATCH] no longer explicitly print some things in white --- stdlib/Test/src/Test.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/Test/src/Test.jl b/stdlib/Test/src/Test.jl index c63e414f45239..f87db1eb75313 100644 --- a/stdlib/Test/src/Test.jl +++ b/stdlib/Test/src/Test.jl @@ -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) @@ -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