Skip to content

Commit 7d04a6f

Browse files
committed
more precise alignment for ID printing
By not taking into account toplevel testsets which are not run when computing the maximum ID.
1 parent 09b20e3 commit 7d04a6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReTest.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1327,8 +1327,8 @@ function fetchtests((mod, pat), verbose, module_header, maxidw; static, strict,
13271327
run || continue
13281328
descwidth = max(descwidth, ts.descwidth)
13291329
hasbroken |= ts.hasbrokenrec
1330+
maxidw[] = max(maxidw[], ndigits(id-1))
13301331
end
1331-
maxidw[] = max(maxidw[], ndigits(id-1))
13321332

13331333
tests = filter(ts -> ts.run, tests)
13341334

0 commit comments

Comments
 (0)