Bootstrap test fixes.
[catagits/Gitalist.git] / t / author / podcoverage.t
index 1e43732..7cb9f58 100644 (file)
@@ -1,14 +1,21 @@
-#!/usr/bin/env perl
+use FindBin qw/$Bin/;
+BEGIN {
+    my $env = "$FindBin::Bin/../../script/env";
+    if (-r $env) {
+        do $env or die $@;
+    }
+}
+
 use strict;
 use warnings;
 use Test::More;
 
 use Test::Pod::Coverage 1.04;
 
-all_pod_coverage_ok({
+pod_coverage_ok($_,  {
     also_private => [qw/
         BUILD
         BUILDARGS
         build_per_context_instance
     /],
-});
+}) for all_modules('lib');