Skip to content

Commit

Permalink
perlcriticrc is no longer needed. I want to write options to
Browse files Browse the repository at this point in the history
xt/02_perlcritic.t itself.
  • Loading branch information
tokuhirom committed Feb 1, 2011
1 parent c2a35dc commit 71f6b40
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
11 changes: 9 additions & 2 deletions xt/02_perlcritic.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
use strict;
use Test::More;
eval q{ use Test::Perl::Critic -profile => 'xt/perlcriticrc' };
plan skip_all => "Test::Perl::Critic is not installed." if $@;
eval q{
use Test::Perl::Critic 1.02 -exclude => [
'Subroutines::ProhibitSubroutinePrototypes',
'Subroutines::ProhibitExplicitReturnUndef',
'TestingAndDebugging::ProhibitNoStrict',
'ControlStructures::ProhibitMutatingListFunctions',
]
};
plan skip_all => "Test::Perl::Critic 1.02+ is not installed." if $@;
all_critic_ok('lib');
6 changes: 0 additions & 6 deletions xt/perlcriticrc

This file was deleted.

0 comments on commit 71f6b40

Please sign in to comment.