Move plan skip_all for ENV{TEST_POD} to the top
[catagits/Catalyst-Devel.git] / share / t / 02pod.t.tt
index 64fabdd..b87aaae 100644 (file)
@@ -3,8 +3,8 @@ use strict;
 use warnings;
 use Test::More;
 
+plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
 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};
 
 all_pod_files_ok();