From: Vincent Pit Date: Tue, 28 Dec 2010 11:07:15 +0000 (+0100) Subject: Get rid of skip_all() X-Git-Tag: v0.01~8 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FTest-Leaner.git;a=commitdiff_plain;h=a336a31d9cdb4fff3b625ccbc5e40b146052e730 Get rid of skip_all() It is only implemented in Test::Builder. --- diff --git a/lib/Test/Leaner.pm b/lib/Test/Leaner.pm index d11c4e2..4aaa5e4 100644 --- a/lib/Test/Leaner.pm +++ b/lib/Test/Leaner.pm @@ -160,7 +160,6 @@ sub plan { our @EXPORT = qw< plan - skip_all skip done_testing pass @@ -210,15 +209,6 @@ sub import { goto &Exporter::import; } -=head2 C - -=cut - -sub skip_all { - @_ = (skip_all => $_[0]); - goto &plan; -} - =head2 C<< skip $reason => $count >> =cut diff --git a/t/01-import.t b/t/01-import.t index d612ed4..55f581d 100644 --- a/t/01-import.t +++ b/t/01-import.t @@ -7,13 +7,12 @@ use Test::More (); BEGIN { *tm_is = \&Test::More::is } -Test::More::plan(tests => 2 * 15); +Test::More::plan(tests => 2 * 14); require Test::Leaner; my @syms = qw< plan - skip_all skip done_testing pass