| 1 | use strict; |
| 2 | use Test::More; |
| 3 | eval q{ |
| 4 | use Test::Perl::Critic 1.02 -exclude => [ |
| 5 | 'Subroutines::ProhibitSubroutinePrototypes', |
| 6 | 'Subroutines::ProhibitExplicitReturnUndef', |
| 7 | 'TestingAndDebugging::ProhibitNoStrict', |
| 8 | 'ControlStructures::ProhibitMutatingListFunctions', |
| 9 | 'InputOutput::RequireEncodingWithUTF8Layer', |
| 10 | ] |
| 11 | }; |
| 12 | plan skip_all => "Test::Perl::Critic 1.02+ is not installed." if $@; |
| 13 | all_critic_ok('lib'); |