xt/author/critic.t
raw| 1 | #!perl |
| 2 | |
| 3 | use strict; |
| 4 | use warnings; |
| 5 | |
| 6 | use Test::More; |
| 7 | use English qw(-no_match_vars); |
| 8 | |
| 9 | eval "use Test::Perl::Critic"; |
| 10 | plan skip_all => 'Test::Perl::Critic required to criticise code' if $@; |
| 11 | Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e "perlcritic.rc"; |
| 12 | all_critic_ok(); |