X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Singleton.git;a=blobdiff_plain;f=xt%2Fauthor%2Fpod.t;fp=xt%2Fauthor%2Fpod.t;h=5627f22d02e2611e12fbfeead538f5eefde96977;hp=4ae1af356e5057040cbeb765b58722977fa87b0a;hb=42c0634336fede6dd9ef469f600828bd213e941d;hpb=07951478a041b8913d5cd6bd12c3a860b43e6a36 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();