Skip to content

Commit 56424dc

Browse files
committed
no longer explicitly print some things in white (#42864)
(cherry picked from commit 6f55bf9)
1 parent 5737a13 commit 56424dc

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
@@ -801,7 +801,7 @@ record(ts::DefaultTestSet, t::Pass) = (ts.n_passed += 1; t)
801801
# but do not terminate. Print a backtrace.
802802
function record(ts::DefaultTestSet, t::Union{Fail, Error})
803803
if TESTSET_PRINT_ENABLE[]
804-
printstyled(ts.description, ": ", color=:white)
804+
print(ts.description, ": ")
805805
# don't print for interrupted tests
806806
if !(t isa Error) || t.test_type !== :test_interrupted
807807
print(t)
@@ -860,7 +860,7 @@ function print_test_results(ts::DefaultTestSet, depth_pad=0)
860860
align = max(get_alignment(ts, 0), length("Test Summary:"))
861861
# Print the outer test set header once
862862
pad = total == 0 ? "" : " "
863-
printstyled(rpad("Test Summary:", align, " "), " |", pad; bold=true, color=:white)
863+
printstyled(rpad("Test Summary:", align, " "), " |", pad; bold=true)
864864
if pass_width > 0
865865
printstyled(lpad("Pass", pass_width, " "), " "; bold=true, color=:green)
866866
end

0 commit comments

Comments
 (0)