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
299 B

--- t/basic.t
+++ t/basic.t
@@ -4,9 +4,10 @@ use warnings;
use Test::Fatal;
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;