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-Package-DeprecationMan.../Package-DeprecationManager-...

17 lines
439 B

--- Package-DeprecationManager-0.08/t/basic.t 2010-10-15 21:09:58.000000000 +0100
+++ Package-DeprecationManager-0.08/t/basic.t 2010-10-15 21:10:50.632225765 +0100
@@ -4,9 +4,10 @@ use warnings;
use Test::Exception;
use Test::More;
-use Test::Requires {
- 'Test::Output' => '0.16',
-};
+BEGIN {
+ eval "use Test::Output 0.16;";
+ plan skip_all => "Test::Output 0.16 is required for this test" if $@;
+}
plan tests => 25;