X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Fauthor%2Fpod.t;h=5627f22d02e2611e12fbfeead538f5eefde96977;hb=837c97931c840f5214147d87726e5d5295a99f53;hp=4ae1af356e5057040cbeb765b58722977fa87b0a;hpb=845cbcb8b1e2ed2adf1b07cbe2aa196648650e49;p=gitmo%2FMooseX-Singleton.git diff --git a/xt/author/pod.t b/xt/author/pod.t index 4ae1af3..5627f22 100644 --- a/xt/author/pod.t +++ b/xt/author/pod.t @@ -5,7 +5,8 @@ use warnings; use Test::More; -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();