]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commitdiff
Require Module::ExtractUse 0.24 for the Kwalitee test
authorVincent Pit <vince@profvince.com>
Sun, 19 Feb 2012 13:09:03 +0000 (14:09 +0100)
committerVincent Pit <vince@profvince.com>
Sun, 19 Feb 2012 13:10:39 +0000 (14:10 +0100)
t/99-kwalitee.t

index 185d4cef2cf686f510009c018d655d9f504af55f..4a664573fa9b2090bad47cd5c9343c7b509121ff 100644 (file)
@@ -5,8 +5,14 @@ use warnings;
 
 use Test::More;
 
-eval { require Test::Kwalitee; };
-plan(skip_all => 'Test::Kwalitee not installed') if $@;
+eval { require Parse::RecDescent; 'Parse::RecDescent'->VERSION('1.967006') }
+  or plan skip_all => 'Parse::RecDescent version 1.967006 or greater required';
+
+eval { require Module::ExtractUse; 'Module::ExtractUse'->VERSION('0.24') }
+  or plan skip_all => 'Module::ExtractUse version 0.24 or greater required';
+
+eval { require Test::Kwalitee; 1 }
+  or plan skip_all => 'Test::Kwalitee required';
 
 SKIP: {
  eval { Test::Kwalitee->import(); };