X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Frelease%2Fpod.t;h=a75a7bb14a3dbfa4e3e8a96a073a71b4542f62d8;hb=3e17a7d13a9688fcf04eef4959381a7110bf8da3;hp=9e30f41d405d28acd2d084077beac5da388f0914;hpb=bbcf6ba97332e3f8e2a16f33c87ed3c910f1ef1d;p=gitmo%2FMooseX-ClassAttribute.git diff --git a/xt/release/pod.t b/xt/release/pod.t index 9e30f41..a75a7bb 100644 --- a/xt/release/pod.t +++ b/xt/release/pod.t @@ -3,10 +3,8 @@ use warnings; 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();