You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Class-Load/Class-Load-0.08-no-Test::Re...

26 lines
641 B

--- Class-Load-0.08/t/release-pod-coverage.t.orig 2011-08-16 11:31:42.095025148 +0100
+++ Class-Load-0.08/t/release-pod-coverage.t 2011-08-16 12:34:11.961313546 +0100
@@ -5,6 +5,11 @@
require Test::More;
Test::More::plan(skip_all => 'these tests are for release candidate testing');
}
+ eval "use Test::Pod::Coverage 1.04;";
+ if ($@) {
+ require Test::More;
+ Test::More::plan(skip_all => 'Test::Pod::Coverage 1.04 is required for this test');
+ }
}
@@ -13,10 +18,6 @@
use Test::More tests => 1;
-use Test::Requires {
- 'Test::Pod::Coverage' => '1.04',
-};
-
my @modules = 'Class::Load';
my %trustme;