Skip to content

Commit

Permalink
Require version 1.01 of Test::Kwalitee
Browse files Browse the repository at this point in the history
  • Loading branch information
Abigail committed Dec 7, 2009
1 parent 2fc9f8b commit e208967
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions t/990_kwalitee.t
Expand Up @@ -8,12 +8,8 @@ no warnings 'syntax';

my $garbage = "Debian_CPANTS.txt";

eval {
require Test::Kwalitee;
Test::Kwalitee -> import;
};

plan skip_all => "Test::Kwalitee not installed; skipping" if $@;
eval "use Test::Kwalitee 1.01; 1" or
plan skip_all => "Test::Kwalitee 1.01 required to test Kwalitee";

if (-f $garbage) {
unlink $garbage or die "Failed to clean up $garbage";
Expand Down

0 comments on commit e208967

Please sign in to comment.