Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.

Commit e9130cd

Browse files
committed
no longer explicitly print some things in white (JuliaLang/julia#42864)
(cherry picked from commit 5eae688)
1 parent 2f4543d commit e9130cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Test.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ record(ts::DefaultTestSet, t::Pass) = (ts.n_passed += 1; t)
932932
# but do not terminate. Print a backtrace.
933933
function record(ts::DefaultTestSet, t::Union{Fail, Error})
934934
if TESTSET_PRINT_ENABLE[]
935-
printstyled(ts.description, ": ", color=:white)
935+
print(ts.description, ": ")
936936
# don't print for interrupted tests
937937
if !(t isa Error) || t.test_type !== :test_interrupted
938938
print(t)
@@ -991,7 +991,7 @@ function print_test_results(ts::DefaultTestSet, depth_pad=0)
991991
align = max(get_alignment(ts, 0), length("Test Summary:"))
992992
# Print the outer test set header once
993993
pad = total == 0 ? "" : " "
994-
printstyled(rpad("Test Summary:", align, " "), " |", pad; bold=true, color=:white)
994+
printstyled(rpad("Test Summary:", align, " "), " |", pad; bold=true)
995995
if pass_width > 0
996996
printstyled(lpad("Pass", pass_width, " "), " "; bold=true, color=:green)
997997
end

0 commit comments

Comments
 (0)