Skip to content

Commit 32ea18e

Browse files
Fix test report alignment (#56789)
1 parent 7192df7 commit 32ea18e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/Test/src/Test.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ function print_test_results(ts::AbstractTestSet, depth_pad=0)
11941194
duration_width = max(textwidth("Time"), textwidth(tc.duration))
11951195
# Calculate the alignment of the test result counts by
11961196
# recursively walking the tree of test sets
1197-
align = max(get_alignment(ts, 0), textwidth("Test Summary:"))
1197+
align = max(get_alignment(ts, depth_pad), textwidth("Test Summary:"))
11981198
# Print the outer test set header once
11991199
printstyled(rpad("Test Summary:", align, " "), " |", " "; bold=true)
12001200
if pass_width > 0

0 commit comments

Comments
 (0)