Skip to content

Commit

Permalink
don't set test_args if empty (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth authored Oct 19, 2024
1 parent f5f652a commit 1e03e01
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions kwargs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ function kwargs(; coverage,
if VERSION >= v"1.9"
kwargs_dict[:allow_reresolve] = parse(Bool, allow_reresolve)
end

kwargs_dict[:test_args] = test_args

if !isempty(test_args)
kwargs_dict[:test_args] = test_args
end

return kwargs_dict
end
Expand Down

0 comments on commit 1e03e01

Please sign in to comment.