[Bast-commits] r8381 - in DBIx-Class/0.08/trunk: . t
frew at dev.catalyst.perl.org
frew at dev.catalyst.perl.org
Tue Jan 19 16:34:12 GMT 2010
Author: frew
Date: 2010-01-19 16:34:10 +0000 (Tue, 19 Jan 2010)
New Revision: 8381
Added:
DBIx-Class/0.08/trunk/t/06notabs.t
Modified:
DBIx-Class/0.08/trunk/Makefile.PL
Log:
add test to ensure no tabs in perl files
Modified: DBIx-Class/0.08/trunk/Makefile.PL
===================================================================
--- DBIx-Class/0.08/trunk/Makefile.PL 2010-01-19 12:59:51 UTC (rev 8380)
+++ DBIx-Class/0.08/trunk/Makefile.PL 2010-01-19 16:34:10 UTC (rev 8381)
@@ -19,6 +19,7 @@
test_requires 'Test::Warn' => '0.21';
test_requires 'File::Temp' => '0.22';
+test_requires 'Test::NoTabs' => '0.9';
# Core
@@ -141,7 +142,7 @@
# Deprecated/internal modules need no exposure
no_index directory => $_ for (qw|
lib/DBIx/Class/SQLAHacks
- lib/DBIx/Class/PK/Auto
+ lib/DBIx/Class/PK/Auto
|);
no_index package => $_ for (qw/
DBIx::Class::Storage::DBI::AmbiguousGlob
@@ -185,7 +186,7 @@
# Re-write META.yml to _exclude_ all forced requires (we do not want to ship this)
if ($Module::Install::AUTHOR) {
- Meta->{values}{build_requires} = [ grep
+ Meta->{values}{build_requires} = [ grep
{ not exists $force_requires_if_author{$_->[0]} }
( @{Meta->{values}{build_requires}} )
];
Added: DBIx-Class/0.08/trunk/t/06notabs.t
===================================================================
--- DBIx-Class/0.08/trunk/t/06notabs.t (rev 0)
+++ DBIx-Class/0.08/trunk/t/06notabs.t 2010-01-19 16:34:10 UTC (rev 8381)
@@ -0,0 +1,13 @@
+use warnings;
+use strict;
+
+use Test::More;
+use Test::NoTabs;
+use lib 't/lib';
+use DBICTest;
+unless ( DBICTest::AuthorCheck->is_author || $ENV{AUTOMATED_TESTING} || $ENV{RELEASE_TESTING} ) {
+ plan( skip_all => "Author tests not required for installation" );
+}
+all_perl_files_ok();
+
+done_testing;
More information about the Bast-commits
mailing list