Skip to content

Commit eecd1ca

Browse files
committed
Docstring fixes
1 parent 8e19252 commit eecd1ca

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/ParallelTestRunner.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -449,12 +449,11 @@ addworkers(X; kwargs...) = [addworker(; kwargs...) for _ in 1:X]
449449
"""
450450
addworker(; env=Vector{Pair{String, String}}(), init_worker_code = :(), exename=nothing, exeflags=nothing; color::Bool=false)
451451
452-
Add a single worker process.
452+
Add a single worker process.
453453
To add multiple workers, use [`addworkers`](@ref).
454454
455455
## Arguments
456456
- `env`: Vector of environment variable pairs to set for the worker process.
457-
- `init_code`: Code use to initialize each worker. This should be used for imports and definitions shared amongst all workers
458457
- `init_worker_code`: Code use to initialize each worker. This is run only once per worker instead of once per test.
459458
- `exename`: Custom executable to use for the worker process.
460459
- `exeflags`: Custom flags to pass to the worker process.
@@ -663,8 +662,8 @@ end
663662
"""
664663
runtests(mod::Module, args::Union{ParsedArgs,Array{String}};
665664
testsuite::Dict{String,Expr}=find_tests(pwd()),
666-
init_worker_code = :(),
667665
init_code = :(),
666+
init_worker_code = :(),
668667
test_worker = Returns(nothing),
669668
stdout = Base.stdout,
670669
stderr = Base.stderr)

0 commit comments

Comments
 (0)