t/perlcritic-hold
raw| 1 | # This is not working right(?). It's registering errors inside itself |
| 2 | # (Test::Perl::Critic), not in the tested module. |
| 3 | |
| 4 | #!perl |
| 5 | |
| 6 | if (!require Test::Perl::Critic) { |
| 7 | Test::More::plan( |
| 8 | skip_all => "Test::Perl::Critic required for testing PBP compliance" |
| 9 | ); |
| 10 | } |
| 11 | |
| 12 | Test::Perl::Critic::all_critic_ok(); |