Skip to content

Commit 6f55bf9

Browse files
authored
no longer explicitly print some things in white (#42864)
1 parent ca6b3ba commit 6f55bf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/Test/src/Test.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ record(ts::DefaultTestSet, t::Pass) = (ts.n_passed += 1; t)
990990
# but do not terminate. Print a backtrace.
991991
function record(ts::DefaultTestSet, t::Union{Fail, Error})
992992
if TESTSET_PRINT_ENABLE[]
993-
printstyled(ts.description, ": ", color=:white)
993+
print(ts.description, ": ")
994994
# don't print for interrupted tests
995995
if !(t isa Error) || t.test_type !== :test_interrupted
996996
print(t)
@@ -1049,7 +1049,7 @@ function print_test_results(ts::DefaultTestSet, depth_pad=0)
10491049
align = max(get_alignment(ts, 0), length("Test Summary:"))
10501050
# Print the outer test set header once
10511051
pad = total == 0 ? "" : " "
1052-
printstyled(rpad("Test Summary:", align, " "), " |", pad; bold=true, color=:white)
1052+
printstyled(rpad("Test Summary:", align, " "), " |", pad; bold=true)
10531053
if pass_width > 0
10541054
printstyled(lpad("Pass", pass_width, " "), " "; bold=true, color=:green)
10551055
end

0 commit comments

Comments
 (0)