Skip to content

Commit d7f1314

Browse files
More consistent interface (#40)
1 parent 25edf48 commit d7f1314

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ParallelTestRunner.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function print_test_started(::Type{TestRecord}, wrkr, test, ctx::TestIOContext)
141141
end
142142
end
143143

144-
function print_test_finished(test, wrkr, record::TestRecord, ctx::TestIOContext)
144+
function print_test_finished(record::TestRecord, wrkr, test, ctx::TestIOContext)
145145
lock(ctx.lock)
146146
try
147147
printstyled(ctx.stdout, test, color = :white)
@@ -688,7 +688,7 @@ function runtests(mod::Module, ARGS; test_filter = Returns(true), RecordType = T
688688
test_name, wrkr, record = msg[2], msg[3], msg[4]
689689

690690
clear_status()
691-
print_test_finished(test_name, wrkr, record, io_ctx)
691+
print_test_finished(record, wrkr, test_name, io_ctx)
692692

693693
elseif msg_type == :errored
694694
test_name, wrkr, test_time = msg[2], msg[3], msg[4]

0 commit comments

Comments
 (0)