diff options
Diffstat (limited to 't/author-critic.t')
-rw-r--r-- | t/author-critic.t | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/t/author-critic.t b/t/author-critic.t index 30b99d8..22becf1 100644 --- a/t/author-critic.t +++ b/t/author-critic.t @@ -11,10 +11,5 @@ BEGIN { 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(); |