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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user