X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Fpod.t;h=34d871bf1fde8b72c24ee59a58511d537fefa528;hb=edde9d10e1861bc77d0d9b21a54403a81f38986a;hp=6b76a4a08a3bda6a6a29247162e6979d0a6284ab;hpb=eae006ee3476346901d8edb6c73b1fed4a98c766;p=p5sagit%2Fstrictures.git 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;