use Test::More;
-plan skip_all => 'This test is only run for the module author'
- unless -d '.git' || $ENV{IS_MAINTAINER};
-
-eval "use Test::Pod 1.14";
-plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
+use Test::Requires {
+ 'Test::Pod' => '1.14', # skip all if not installed
+};
all_pod_files_ok();