-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
392f177
commit ea8869e
Showing
2 changed files
with
12 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
#!perl -wT | ||
#!perl -w | ||
|
||
use strict; | ||
use warnings; | ||
|
||
use Test::DescribeMe qw(author); | ||
use Test::Most; | ||
use Test::Needs 'Test::Pod::No404s'; | ||
|
||
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 { | ||
plan(skip_all => 'Author tests not required for installation'); | ||
} | ||
Test::Pod::No404s->import(); | ||
all_pod_files_ok(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters