summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry D. Hedden <jdhedden@cpan.org>2008-07-18 05:09:41 -0400
committerSteve Hay <SteveHay@planit.com>2008-07-22 08:19:11 +0000
commit7bb7fa3865f82f68e5e39dfa527ac1bbbafc8dcf (patch)
tree354a7394ff1c010488d2a22b035842b7685897a1
parentec83ea38ebd7a9cbfbb0209243d3f52270074917 (diff)
downloadperl-7bb7fa3865f82f68e5e39dfa527ac1bbbafc8dcf.tar.gz
Fix skips in test.pl
From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510807180609l7ca8a8d8i653dfd687ed9f36d@mail.gmail.com> Changes skip messages to be consistent with Test::Builder. p4raw-id: //depot/perl@34152
-rw-r--r--t/test.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/test.pl b/t/test.pl
index 779933ce4d..75f7a1e7ba 100644
--- a/t/test.pl
+++ b/t/test.pl
@@ -79,7 +79,7 @@ sub diag {
sub skip_all {
if (@_) {
- _print "1..0 # Skipped: @_\n";
+ _print "1..0 # Skip @_\n";
} else {
_print "1..0\n";
}
@@ -316,7 +316,7 @@ sub skip {
my $why = shift;
my $n = @_ ? shift : 1;
for (1..$n) {
- _print "ok $test # skip: $why\n";
+ _print "ok $test # skip $why\n";
$test = $test + 1;
}
local $^W = 0;
@@ -328,7 +328,7 @@ sub todo_skip {
my $n = @_ ? shift : 1;
for (1..$n) {
- _print "not ok $test # TODO & SKIP: $why\n";
+ _print "not ok $test # TODO & SKIP $why\n";
$test = $test + 1;
}
local $^W = 0;