Fix perlcritic test so it doesn't bomb if Perl::Critic isn't installed
[gitmo/MooseX-Daemonize.git] / t / perlcritic.t
1 #!perl
2 use Test::More;
3 eval "require Test::Perl::Critic";
4 if ($@) {
5     Test::More::plan(
6         skip_all => "Test::Perl::Critic required for testing PBP compliance"
7     );
8 }
9
10 Test::Perl::Critic::all_critic_ok();