Subject: | Incorrect check for Test::Pod::Coverage version in t/podcover.t |
Even though I'm using Test::Pod::Coverage 1.08, 'make test' produces the
following:
t/podcover....skipped: Test::Pod::Coverage 1.04 required for testing
POD coverage
Attached is a patch to fix this issue.
Subject: | patch.txt |
--- XSLoader-0.09/t/podcover.t
+++ XSLoader-0.09/t/podcover.t
@@ -2,8 +2,9 @@
use strict;
use Test::More;
-plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage"
- unless eval "use Test::Pod::Coverage 1.04";
+eval "use Test::Pod::Coverage 1.04";
+plan skip_all => "Test::Pod::Coverage 1.04 or later required for testing POD coverage"
+ if $@;
plan tests => 1;
pod_coverage_ok(XSLoader => {also_private => ['^bootstrap_inherit$']});