[Catalyst-commits] r8340 - in Catalyst-Runtime/5.80/trunk: . t
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Wed Sep 3 09:38:05 BST 2008
Author: rafl
Date: 2008-09-03 09:38:05 +0100 (Wed, 03 Sep 2008)
New Revision: 8340
Removed:
Catalyst-Runtime/5.80/trunk/t/04critic.rc
Modified:
Catalyst-Runtime/5.80/trunk/Makefile.PL
Catalyst-Runtime/5.80/trunk/t/04critic.t
Log:
Use Test::NoTabs instead of Test::Perl::Critic.
Modified: Catalyst-Runtime/5.80/trunk/Makefile.PL
===================================================================
--- Catalyst-Runtime/5.80/trunk/Makefile.PL 2008-09-03 08:09:55 UTC (rev 8339)
+++ Catalyst-Runtime/5.80/trunk/Makefile.PL 2008-09-03 08:38:05 UTC (rev 8340)
@@ -34,7 +34,7 @@
requires 'MRO::Compat';
if (-e 'inc/.author') {
- build_requires 'Test::Perl::Critic';
+ build_requires 'Test::NoTabs';
build_requires 'Test::Pod' => 1.14;
build_requires 'Test::Pod::Coverage' => 1.04;
Deleted: Catalyst-Runtime/5.80/trunk/t/04critic.rc
===================================================================
--- Catalyst-Runtime/5.80/trunk/t/04critic.rc 2008-09-03 08:09:55 UTC (rev 8339)
+++ Catalyst-Runtime/5.80/trunk/t/04critic.rc 2008-09-03 08:38:05 UTC (rev 8340)
@@ -1,5 +0,0 @@
-include = CodeLayout::ProhibitHardTabs
-only = 1
-
-[CodeLayout::ProhibitHardTabs]
-allow_leading_tabs = 0
\ No newline at end of file
Modified: Catalyst-Runtime/5.80/trunk/t/04critic.t
===================================================================
--- Catalyst-Runtime/5.80/trunk/t/04critic.t 2008-09-03 08:09:55 UTC (rev 8339)
+++ Catalyst-Runtime/5.80/trunk/t/04critic.t 2008-09-03 08:38:05 UTC (rev 8340)
@@ -9,14 +9,13 @@
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/);
More information about the Catalyst-commits
mailing list