Skip to content

Commit 283ce2d

Browse files
committed
Use correct character for tables lines
1 parent 41699e0 commit 283ce2d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/ParallelTestRunner.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function print_header(ctx::TestIOContext, testgroupheader, workerheader)
140140
try
141141
# header top
142142
printstyled(ctx.stdout, " "^(ctx.name_align + textwidth(testgroupheader) - 3), "")
143-
printstyled(ctx.stdout, " Test |", color = :white)
143+
printstyled(ctx.stdout, " Test ", color = :white)
144144
ctx.debug_stats && printstyled(ctx.stdout, " Init │", color = :white)
145145
VERSION >= v"1.11" && ctx.debug_stats && printstyled(ctx.stdout, " Compile │", color = :white)
146146
printstyled(ctx.stdout, " ──────────────── CPU ──────────────── │\n", color = :white)
@@ -215,7 +215,7 @@ function print_test_failed(record::TestRecord, wrkr, test, ctx::TestIOContext)
215215
printstyled(ctx.stderr, test, color = :red)
216216
printstyled(
217217
ctx.stderr,
218-
lpad("($wrkr)", ctx.name_align - textwidth(test) + 1, " "), " |"
218+
lpad("($wrkr)", ctx.name_align - textwidth(test) + 1, " "), " "
219219
, color = :red
220220
)
221221

@@ -228,7 +228,7 @@ function print_test_failed(record::TestRecord, wrkr, test, ctx::TestIOContext)
228228
end
229229

230230
failed_str = "failed at $(now())\n"
231-
# 11 -> 3 from " | " 3x and 2 for each " " on either side
231+
# 11 -> 3 from " " 3x and 2 for each " " on either side
232232
fail_align = (11 + ctx.gc_align + ctx.percent_align + ctx.alloc_align + ctx.rss_align - textwidth(failed_str)) ÷ 2 + textwidth(failed_str)
233233
failed_str = lpad(failed_str, fail_align, " ")
234234
printstyled(ctx.stderr, failed_str, color = :red)
@@ -247,7 +247,7 @@ function print_test_crashed(wrkr, test, ctx::TestIOContext)
247247
printstyled(ctx.stderr, test, color = :red)
248248
printstyled(
249249
ctx.stderr,
250-
lpad("($wrkr)", ctx.name_align - textwidth(test) + 1, " "), " |",
250+
lpad("($wrkr)", ctx.name_align - textwidth(test) + 1, " "), " ",
251251
" "^ctx.elapsed_align, " crashed at $(now())\n", color = :red
252252
)
253253

0 commit comments

Comments
 (0)