From: Graham Knop Date: Thu, 22 Jan 2015 02:09:02 +0000 (-0500) Subject: avoid using pod checking functions that plan X-Git-Tag: v1.005006~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2Fstrictures.git;a=commitdiff_plain;h=edde9d10e1861bc77d0d9b21a54403a81f38986a avoid using pod checking functions that plan --- diff --git a/xt/pod.t b/xt/pod.t index 6b76a4a..34d871b 100644 --- a/xt/pod.t +++ b/xt/pod.t @@ -4,12 +4,9 @@ use Test::Pod::Coverage; use strict; use warnings FATAL => 'all'; -# the all_ things attempt to plan, which we didn't want, so stop them -# from doing that -no warnings 'redefine'; -local *Test::Builder::plan = sub { }; - -all_pod_files_ok; -all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::CountParents' }); +pod_file_ok($_) + for all_pod_files; +pod_coverage_ok($_, { coverage_class => 'Pod::Coverage::CountParents' }) + for all_modules; done_testing;