summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-01-17 08:39:39 -0700
committerKarl Williamson <khw@cpan.org>2020-01-18 22:07:04 -0700
commit3c32184e76c1b5f7f5fba209649d0f83faf6ec1b (patch)
tree59afacffd83e7d190a70d2f7de6011e9749ec7ba
parent6d5e40b52d6bb41f8128318091fa21a48f5fecbb (diff)
downloadperl-3c32184e76c1b5f7f5fba209649d0f83faf6ec1b.tar.gz
t/test.pl: fresh_perl has only 2 args
So referring to the "third" is wrong.
-rw-r--r--t/test.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test.pl b/t/test.pl
index 321ae0f636..2c6fc95ea7 100644
--- a/t/test.pl
+++ b/t/test.pl
@@ -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 {}