--- 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;