diff options
author | Gianni Ceccarelli <dakkar@dechirico.(none)> | 2009-04-23 15:50:15 +0200 |
---|---|---|
committer | Gianni Ceccarelli <dakkar@dechirico.(none)> | 2009-04-23 15:50:15 +0200 |
commit | 5baf431cd43d7932f9a21c5d67f74c04409f90a3 (patch) | |
tree | 4f3c765e589dc3d2b508eb9327bbada9368a751e /t/00-author-critic.t | |
parent | new tests (diff) | |
download | Tree-Template-Declare-5baf431cd43d7932f9a21c5d67f74c04409f90a3.tar.gz Tree-Template-Declare-5baf431cd43d7932f9a21c5d67f74c04409f90a3.tar.bz2 Tree-Template-Declare-5baf431cd43d7932f9a21c5d67f74c04409f90a3.zip |
passes critic
Diffstat (limited to 't/00-author-critic.t')
-rw-r--r-- | t/00-author-critic.t | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/00-author-critic.t b/t/00-author-critic.t index 7937131..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" ); } } - +my $rcfile = File::Spec->catfile( 't', 'perlcriticrc' ); +Test::Perl::Critic->import( -profile => $rcfile ); all_critic_ok(); 1; |