This repository was archived by the owner on Jan 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -1056,8 +1056,8 @@ end
1056
1056
function get_alignment (ts:: DefaultTestSet , depth:: Int )
1057
1057
# The minimum width at this depth is
1058
1058
ts_width = 2 * depth + length (ts. description)
1059
- # If all passing, no need to look at children
1060
- ! ts. anynonpass && return ts_width
1059
+ # If not verbose and all passing, no need to look at children
1060
+ ! ts. verbose && ! ts . anynonpass && return ts_width
1061
1061
# Return the maximum of this width and the minimum width
1062
1062
# for all children (if they exist)
1063
1063
isempty (ts. results) && return ts_width
Original file line number Diff line number Diff line change @@ -1025,17 +1025,17 @@ end
1025
1025
1026
1026
@testset " verbose option" begin
1027
1027
expected = """
1028
- Test Summary: | Pass Total
1029
- Parent | 9 9
1030
- Child 1 | 3 3
1031
- Child 1.1 | 1 1
1032
- Child 1.2 | 1 1
1033
- Child 1.3 | 1 1
1034
- Child 2 | 3 3
1035
- Child 3 | 3 3
1036
- Child 3.1 | 1 1
1037
- Child 3.2 | 1 1
1038
- Child 3.3 | 1 1
1028
+ Test Summary: | Pass Total
1029
+ Parent | 9 9
1030
+ Child 1 | 3 3
1031
+ Child 1.1 (long name) | 1 1
1032
+ Child 1.2 | 1 1
1033
+ Child 1.3 | 1 1
1034
+ Child 2 | 3 3
1035
+ Child 3 | 3 3
1036
+ Child 3.1 | 1 1
1037
+ Child 3.2 | 1 1
1038
+ Child 3.3 | 1 1
1039
1039
"""
1040
1040
1041
1041
mktemp () do f, _
@@ -1045,7 +1045,7 @@ end
1045
1045
1046
1046
@testset "Parent" verbose = true begin
1047
1047
@testset "Child 1" verbose = true begin
1048
- @testset "Child 1.1" begin
1048
+ @testset "Child 1.1 (long name) " begin
1049
1049
@test 1 == 1
1050
1050
end
1051
1051
You can’t perform that action at this time.
0 commit comments