Skip to content

Commit

Permalink
Fix author testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel Horne committed Feb 8, 2022
1 parent 1fc0c76 commit fbfe00b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion t/comment-spelling.t
Expand Up @@ -5,7 +5,7 @@ use strict;
use warnings;
use Test::Most;

if($ENV{AUTHOR_TESTING} ) {
if($ENV{'AUTHOR_TESTING'} ) {
eval 'use Test::Spelling::Comment 0.002';
if($@) {
plan(skip_all => 'Test::Spelling::Comment required for testing comment spelling');
Expand All @@ -17,3 +17,6 @@ if($ENV{AUTHOR_TESTING} ) {
}

__DATA__
CountyStateProvince
Detaintify
qw
1 change: 0 additions & 1 deletion t/csp-us.t
Expand Up @@ -45,4 +45,3 @@ ok($c eq 'MA', 'Ma');

$c = $untainter->extract(-as_CountyStateProvince => 'state7');
ok(!defined($c), 'ZZ');

5 changes: 4 additions & 1 deletion t/eof.t
Expand Up @@ -13,7 +13,10 @@ BEGIN {
plan(skip_all => 'Test::EOF not installed');
} else {
import Test::EOF;
all_perl_files_ok({ minimum_newlines => 1, maximum_newlines => 4 });

# Causes skip all with no reason
# all_perl_files_ok({ minimum_newlines => 1, maximum_newlines => 4 });
all_perl_files_ok(('.'), { strict => 1 });
done_testing();
}
} else {
Expand Down

0 comments on commit fbfe00b

Please sign in to comment.