|
Revision 287
(checked in by jesse, 3 years ago)
|
r25504@truegrounds: jesse | 2006-03-04 13:22:46 -0800
|
| Line | |
|---|
| 1 |
use Test::More; |
|---|
| 2 |
eval "use Test::Pod::Coverage 1.00"; |
|---|
| 3 |
plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage" if $@; |
|---|
| 4 |
|
|---|
| 5 |
plan skip_all => 'Pod coverage will warn on ALL plugins. That is not yet right'; |
|---|
| 6 |
all_pod_coverage_ok( {nonwhitespace => 1 } ); |
|---|
| 7 |
|
|---|
| 8 |
# Workaround for dumb bug (fixed in 5.8.7) where Test::Builder thinks that |
|---|
| 9 |
# certain "die"s that happen inside evals are not actually inside evals, |
|---|
| 10 |
# because caller() is broken if you turn on $^P like Module::Refresh does |
|---|
| 11 |
# |
|---|
| 12 |
# (I mean, if we've gotten to this line, then clearly the test didn't die, no?) |
|---|
| 13 |
Test::Builder->new->{Test_Died} = 0; |
|---|
| 14 |
|
|---|