This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prepending (instead of replacing with) the pwd is safer.
[perl5.git]
/
t
/
test.pl
diff --git
a/t/test.pl
b/t/test.pl
index
c7c9908
..
029d80f
100644
(file)
--- a/
t/test.pl
+++ b/
t/test.pl
@@
-110,7
+110,8
@@
sub fail {
# Note: can't pass multipart messages since we try to
# be compatible with Test::More::skip().
sub skip {
- my ($mess, $n) = @_;
+ my $mess = shift;
+ my $n = @_ ? shift : 1;
for (1..$n) {
ok(1, "# skip:", $mess);
}