Skip to content

Commit

Permalink
Fix test report alignment (#56789)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth authored Dec 10, 2024
1 parent 7192df7 commit 32ea18e
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 32ea18e

Please sign in to comment.