version up
[mrsh.git] / t / critic.t
blob6abece6fdbcb7e3f673af64657f96cdad368cab0
1 #!/usr/bin/perl -w
2 use strict;
3 use Test::More;
4 use File::Spec;
6 if (not $ENV{TEST_AUTHOR}) {
7 plan( skip_all => 'Author test. Set $ENV{TEST_AUTHOR} to true to run.');
10 eval { require Test::Perl::Critic; };
12 if ($@) {
13 plan( skip_all => 'Test::Perl::Critic required for test.');
16 Test::Perl::Critic->import();
17 all_critic_ok();