Use Test::Requires instead of hard dep on Test::Warn
[gitmo/Package-DeprecationManager.git] / t / basic.t
index 6eb35d5..9538d92 100644 (file)
--- 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 {