From: Dave Rolsky Date: Thu, 14 Oct 2010 19:15:40 +0000 (-0500) Subject: Use Test::Requires instead of hard dep on Test::Warn X-Git-Tag: v0.05~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2542cb3d475f10767e8ad30aede14f0eba331f16;p=gitmo%2FPackage-DeprecationManager.git Use Test::Requires instead of hard dep on Test::Warn --- diff --git a/dist.ini b/dist.ini index fc06028..e10fcca 100644 --- a/dist.ini +++ b/dist.ini @@ -36,6 +36,5 @@ Sub::Install = 0 [Prereqs / TestRequires] Test::Exception = 0 Test::More = 0.88 -Test::Warn = 0 [@Git] diff --git a/t/basic.t b/t/basic.t index 6eb35d5..9538d92 100644 --- a/t/basic.t +++ b/t/basic.t @@ -3,7 +3,10 @@ use warnings; use Test::Exception; use Test::More; -use Test::Warn; + +use Test::Requires { + 'Test::Warn' => '0.21', +}; { throws_ok {