diff options
author | Karl Williamson <khw@cpan.org> | 2020-01-17 08:39:39 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-01-18 22:07:04 -0700 |
commit | 3c32184e76c1b5f7f5fba209649d0f83faf6ec1b (patch) | |
tree | 59afacffd83e7d190a70d2f7de6011e9749ec7ba | |
parent | 6d5e40b52d6bb41f8128318091fa21a48f5fecbb (diff) | |
download | perl-3c32184e76c1b5f7f5fba209649d0f83faf6ec1b.tar.gz |
t/test.pl: fresh_perl has only 2 args
So referring to the "third" is wrong.
-rw-r--r-- | t/test.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -957,7 +957,7 @@ sub fresh_perl { # returned, with $? set to the exit code. Unless overridden, stderr is # redirected to stdout. - die sprintf "Third argument to fresh_perl_.* must be hashref of args to fresh_perl (or {})" + die sprintf "Second argument to fresh_perl_.* must be hashref of args to fresh_perl (or {})" unless !(defined $runperl_args) || ref($runperl_args) eq 'HASH'; # Given the choice of the mis-parsable {} |