From: Karen Etheridge Date: Tue, 11 Aug 2015 21:17:51 +0000 (-0700) Subject: modernize these tests X-Git-Tag: v0.09~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8a191a98abff7e297bdedd6cb9f9f486691c50c4;p=catagits%2FCatalyst-Plugin-Email.git modernize these tests --- diff --git a/xt/pod-coverage.t b/xt/pod-coverage.t index d91be5e..c06a1b4 100644 --- a/xt/pod-coverage.t +++ b/xt/pod-coverage.t @@ -1,7 +1,7 @@ -use Test::More; +use strict; +use warnings; -eval "use Test::Pod::Coverage 1.04"; -plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@; -plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD}; +use Test::More; +use Test::Pod::Coverage 1.04; all_pod_coverage_ok(); diff --git a/xt/pod-syntax.t b/xt/pod-syntax.t index 1647794..85af6af 100644 --- a/xt/pod-syntax.t +++ b/xt/pod-syntax.t @@ -1,7 +1,7 @@ -use Test::More; +use strict; +use warnings; -eval "use Test::Pod 1.14"; -plan skip_all => 'Test::Pod 1.14 required' if $@; -plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD}; +use Test::More; +use Test::Pod 1.14; all_pod_files_ok();