Fix check for maintainer-ness
[gitmo/MooseX-ClassAttribute.git] / xt / kwalitee.t
CommitLineData
7ce70009 1use strict;
2use warnings;
3
4use Test::More;
5
6
7plan skip_all => 'This test is only run for the module author'
d33f27f3 8 unless -d '.git' || $ENV{IS_MAINTAINER};
7ce70009 9
10eval { require Test::Kwalitee; Test::Kwalitee->import() };
11plan skip_all => "Test::Kwalitee needed for testing kwalitee"
12 if $@;