-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perlcriticrc is no longer needed. I want to write options to
xt/02_perlcritic.t itself.
- Loading branch information
Showing
2 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
This file was deleted.
Oops, something went wrong.