Add some spelling words. Make local_versionsync fail gracefully (instead of

planning twice) if File::Slurp isn't found.  Make spelling skip all tests
if Test::Spelling isn't found.
This commit is contained in:
Bill Fenner
2008-07-31 18:35:20 +00:00
parent 6c8ec356ec
commit 2575320ec5
2 changed files with 16 additions and 3 deletions

View File

@@ -5,12 +5,14 @@
use warnings;
use strict;
use File::Find;
use Test::More qw(no_plan);
use Test::More;
eval "use File::Slurp";
plan skip_all => "File::Slurp required for testing version sync"
if $@;
plan qw(no_plan);
my $last_version = undef;
find({wanted => \&check_version, no_chdir => 1}, 'blib');
if (! defined $last_version) {