requires 'Moose' => '0.82';
build_requires 'Scalar::Util';
-build_requires 'Test::More';
+build_requires 'Test::More' => '0.88';
build_requires 'Test::Exception';
license 'Perl';
use strict;
use warnings;
-use Test::Spelling;
+use Test::More;
+eval 'use Test::Spelling;';
+plan skip_all => "Test::Spelling required for testing POD spelling" if $@;
my @stopwords;
for (<DATA>) {
add_stopwords(@stopwords);
set_spell_cmd('aspell list -l en');
-all_pod_files_spelling_ok;
+all_pod_files_spelling_ok();
__DATA__
metaclass
use strict;
use warnings;
+use Test::More;
+
+eval <<'EOF';
use File::Find::Rule;
use Module::Info;
+EOF
-use Test::More qw( no_plan );
+plan skip_all => 'File::Find::Rule and Module::Info required for testing version numbers' if $@;
my %versions;
is( $versions{$module}, $moose_ver,
"version for $module is the same as in MooseX/Singleton.pm" );
}
+
+done_testing;