forked from bestpractical/sd
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving things that should be in xt to xt
- Loading branch information
Showing
3 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
use Test::More; | ||
eval "use Test::Pod::Coverage 1.00"; | ||
plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage" if $@; | ||
plan skip_all => "Coverage tests only run for authors" unless ( -d 'inc/.author' ); | ||
plan skip_all => "We know our coverage is bad :("; | ||
|
||
all_pod_coverage_ok(); | ||
|
||
# Workaround for dumb bug (fixed in 5.8.7) where Test::Builder thinks that | ||
# certain "die"s that happen inside evals are not actually inside evals, | ||
# because caller() is broken if you turn on $^P like Module::Refresh does | ||
# | ||
# (I mean, if we've gotten to this line, then clearly the test didn't die, no?) | ||
Test::Builder->new->{Test_Died} = 0; | ||
|
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
use Test::More; | ||
eval "use Test::Pod 1.00"; | ||
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@; | ||
all_pod_files_ok(); | ||
|