Skip to content

Commit

Permalink
fix test report alignment
Browse files Browse the repository at this point in the history
Revert "fix test report alignment"

This reverts commit ac50f58.

fix test report alignment
  • Loading branch information
IanButterworth committed Dec 10, 2024
1 parent e0656ac commit 622f448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Test/src/Test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,7 @@ function print_test_results(ts::AbstractTestSet, depth_pad=0)
duration_width = max(textwidth("Time"), textwidth(tc.duration))
# Calculate the alignment of the test result counts by
# recursively walking the tree of test sets
align = max(get_alignment(ts, 0), textwidth("Test Summary:"))
align = max(get_alignment(ts, depth_pad), textwidth("Test Summary:"))
# Print the outer test set header once
printstyled(rpad("Test Summary:", align, " "), " |", " "; bold=true)
if pass_width > 0
Expand Down

0 comments on commit 622f448

Please sign in to comment.