summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorGianni Ceccarelli <dakkar@dechirico.(none)>2009-04-23 15:29:16 +0200
committerGianni Ceccarelli <dakkar@dechirico.(none)>2009-04-23 15:29:16 +0200
commitb0c300919fd33fbff9167b294dca14dff0250bc1 (patch)
tree62b1f3d4e55543b6aff8e67616efb274dc5db6e9 /t
parentnew tests (diff)
downloadTree-Transform-XSLTish-b0c300919fd33fbff9167b294dca14dff0250bc1.tar.gz
Tree-Transform-XSLTish-b0c300919fd33fbff9167b294dca14dff0250bc1.tar.bz2
Tree-Transform-XSLTish-b0c300919fd33fbff9167b294dca14dff0250bc1.zip
passes critic
Diffstat (limited to 't')
-rw-r--r--t/00-author-critic.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/00-author-critic.t b/t/00-author-critic.t
index d0a133a..79ed2b7 100644
--- a/t/00-author-critic.t
+++ b/t/00-author-critic.t
@@ -10,6 +10,7 @@ BEGIN {
my @MODULES = (
'Perl::Critic 1.098',
'Test::Perl::Critic 1.01',
+ 'File::Spec',
);
# Don't run tests during end-user installs
@@ -27,7 +28,8 @@ foreach my $MODULE ( @MODULES ) {
: plan( skip_all => "$MODULE not available for testing" );
}
}
-Test::Perl::Critic->import( -exclude => ['ProhibitSubroutinePrototypes']);
+my $rcfile = File::Spec->catfile( 't', 'perlcriticrc' );
+Test::Perl::Critic->import( -profile => $rcfile );
all_critic_ok();
1;