Skip to content

Commit 9e0319e

Browse files
committed
Simplifications.
1 parent dd1d319 commit 9e0319e

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/ParallelTestRunner.jl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -615,11 +615,8 @@ function runtests(mod::Module, ARGS; test_filter = Returns(true), RecordType = T
615615
workerheader = "(Worker)"
616616
name_align = maximum(
617617
[
618-
textwidth(testgroupheader) + textwidth(" ") +
619-
textwidth(workerheader); map(
620-
x -> textwidth(x) +
621-
3 + ndigits(nworkers), tests
622-
)
618+
textwidth(testgroupheader) + textwidth(" ") + textwidth(workerheader);
619+
map(x -> textwidth(x) + 5, tests)
623620
]
624621
)
625622

test/runtests.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,10 @@ end
127127
end
128128
)
129129

130-
print("""NOTE: The next test is expected to crash a worker process,
131-
which may print some output to the terminal.
132-
""")
133130
io = IOBuffer()
134131
@test_throws Test.FallbackTestSetException("Test run finished with errors") begin
135132
runtests(ParallelTestRunner, ["--verbose"]; custom_tests, stdout=io, stderr=io)
136133
end
137-
println()
138134

139135
str = String(take!(io))
140136
@test contains(str, r"abort .+ started at")

0 commit comments

Comments
 (0)