Skip to content

Commit

Permalink
Latest no404.t
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Aug 27, 2024
1 parent 37db908 commit 4a393c1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions t/no404s.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ use strict;
use warnings;
use Test::Most;

if(not $ENV{AUTHOR_TESTING}) {
plan(skip_all => 'Author tests not required for installation');
}

eval "use Test::Pod::No404s";
if($@) {
plan skip_all => 'Test::Pod::No404s required for testing POD';
if($ENV{AUTHOR_TESTING}) {
eval 'use Test::Pod::No404s';
if($@) {
plan(skip_all => 'Test::Pod::No404s required for testing POD');
} else {
all_pod_files_ok();
}
} else {
all_pod_files_ok();
plan(skip_all => 'Author tests not required for installation');
}

0 comments on commit 4a393c1

Please sign in to comment.