+++ /dev/null
-use strict;
-use warnings;
-
-use Test::More;
-
-
-plan skip_all => 'This test is only run for the module author'
- unless -d '.git' || $ENV{IS_MAINTAINER};
-
-eval { require Test::Kwalitee; Test::Kwalitee->import() };
-plan skip_all => "Test::Kwalitee needed for testing kwalitee"
- if $@;
+++ /dev/null
-use strict;
-use warnings;
-
-use File::Find::Rule;
-use Module::Info;
-
-use Test::More;
-
-my %versions;
-for my $pm_file ( File::Find::Rule->file->name(qr/\.pm$/)->in('lib') ) {
- my $mod = Module::Info->new_from_file($pm_file);
-
- ( my $stripped_file = $pm_file ) =~ s{^lib/}{};
-
- $versions{$stripped_file} = $mod->version;
-}
-
-my $moose_ver = $versions{'MooseX/ClassAttribute.pm'};
-
-for my $module ( grep { $_ ne 'MooseX/ClassAttribute.pm' } sort keys %versions ) {
- is(
- $versions{$module}, $moose_ver,
- "version for $module is the same as in MooseX/ClassAttribute.pm"
- );
-}
-
-done_testing();