X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2F04critic.t;h=5a4a22656e1a9c5bb09a8bc9cf9a4950b97a0182;hp=d94c165770be3c1fdb448606719fdcfca6ee0092;hb=ae29b412955743885e80350085167b54b69672da;hpb=e16a6c4e6c4d49e73b5286b3186616af14f3f554 diff --git a/t/04critic.t b/t/04critic.t index d94c165..5a4a226 100644 --- a/t/04critic.t +++ b/t/04critic.t @@ -9,14 +9,13 @@ if ( !-e "$FindBin::Bin/../MANIFEST.SKIP" ) { plan skip_all => 'Critic test only for developers.'; } else { - eval { require Test::Perl::Critic }; + eval { require Test::NoTabs }; if ( $@ ) { plan tests => 1; - fail( 'You must install Test::Perl::Critic to run 04critic.t' ); + fail( 'You must install Test::NoTabs to run 04critic.t' ); exit; } } -my $rcfile = File::Spec->catfile( 't', '04critic.rc' ); -Test::Perl::Critic->import( -profile => $rcfile ); -all_critic_ok(); \ No newline at end of file +Test::NoTabs->import; +all_perl_files_ok(qw/lib/);