diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-25 20:37:14 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-25 20:37:14 +0000 |
commit | 982b7cb74b4bd865e800703e51ffca34f7ee9caa (patch) | |
tree | f722385858cff224319d5adbee63e115b7c983ed /t/test.pl | |
parent | 68d932c852b68fc407dda03516c89fb270ae694d (diff) | |
download | perl-982b7cb74b4bd865e800703e51ffca34f7ee9caa.tar.gz |
skip($mess) should result in one skip.
p4raw-id: //depot/perl@12213
Diffstat (limited to 't/test.pl')
-rw-r--r-- | t/test.pl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); } |