]> Dogcows Code - chaz/p5-Dist-Zilla-PluginBundle-Author-CCM/blobdiff - xt/author/critic.t
Version 0.009
[chaz/p5-Dist-Zilla-PluginBundle-Author-CCM] / xt / author / critic.t
index d5b4c96b1267b25d84c8105126e044055b72d919..80ccdad3ee8f68f6a41342b41973ce13efe506d9 100644 (file)
@@ -3,10 +3,5 @@
 use strict;
 use warnings;
 
-use Test::More;
-use English qw(-no_match_vars);
-
-eval "use Test::Perl::Critic";
-plan skip_all => 'Test::Perl::Critic required to criticise code' if $@;
-Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e "perlcritic.rc";
+use Test::Perl::Critic (-profile => "perlcritic.rc") x!! -e "perlcritic.rc";
 all_critic_ok();
This page took 0.020058 seconds and 4 git commands to generate.