File tree 2 files changed +14
-14
lines changed 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -1114,8 +1114,8 @@ end
1114
1114
function get_alignment (ts:: DefaultTestSet , depth:: Int )
1115
1115
# The minimum width at this depth is
1116
1116
ts_width = 2 * depth + length (ts. description)
1117
- # If all passing, no need to look at children
1118
- ! ts. anynonpass && return ts_width
1117
+ # If not verbose and all passing, no need to look at children
1118
+ ! ts. verbose && ! ts . anynonpass && return ts_width
1119
1119
# Return the maximum of this width and the minimum width
1120
1120
# for all children (if they exist)
1121
1121
isempty (ts. results) && return ts_width
Original file line number Diff line number Diff line change @@ -1079,17 +1079,17 @@ end
1079
1079
1080
1080
@testset " verbose option" begin
1081
1081
expected = """
1082
- Test Summary: | Pass Total
1083
- Parent | 9 9
1084
- Child 1 | 3 3
1085
- Child 1.1 | 1 1
1086
- Child 1.2 | 1 1
1087
- Child 1.3 | 1 1
1088
- Child 2 | 3 3
1089
- Child 3 | 3 3
1090
- Child 3.1 | 1 1
1091
- Child 3.2 | 1 1
1092
- Child 3.3 | 1 1
1082
+ Test Summary: | Pass Total
1083
+ Parent | 9 9
1084
+ Child 1 | 3 3
1085
+ Child 1.1 (long name) | 1 1
1086
+ Child 1.2 | 1 1
1087
+ Child 1.3 | 1 1
1088
+ Child 2 | 3 3
1089
+ Child 3 | 3 3
1090
+ Child 3.1 | 1 1
1091
+ Child 3.2 | 1 1
1092
+ Child 3.3 | 1 1
1093
1093
"""
1094
1094
1095
1095
mktemp () do f, _
@@ -1099,7 +1099,7 @@ end
1099
1099
1100
1100
@testset "Parent" verbose = true begin
1101
1101
@testset "Child 1" verbose = true begin
1102
- @testset "Child 1.1" begin
1102
+ @testset "Child 1.1 (long name) " begin
1103
1103
@test 1 == 1
1104
1104
end
1105
1105
You can’t perform that action at this time.
0 commit comments