-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed tests to use done_testing() rather than pre-counted tests.
The skips are causing lots of test failures. Perhaps there is a more elegant way to handle this,but this should tide us over until a more suitable fix is applied.
- Loading branch information
Showing
2 changed files
with
6 additions
and
9 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
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,10 +1,12 @@ | ||
#!perl -T | ||
|
||
use Test::More 'tests' => 1; | ||
use Test::More; | ||
eval 'use Test::Pod::Coverage 1.04'; | ||
plan skip_all => 'Test::Pod::Coverage 1.04 required for testing POD coverage' if $@; | ||
|
||
Test::Pod::Coverage::pod_coverage_ok( "DateTime::Format::Human::Duration", { 'trustme' => [qr/^(new)$/,], } ); | ||
|
||
# Locale.pm, es.pm, and fr.pm don;t have POD | ||
# all_pod_coverage_ok(); | ||
# all_pod_coverage_ok(); | ||
|
||
done_testing(); |