Trailing WS crusade - got to save them bits
[dbsrgits/DBIx-Class.git] / xt / notabs.t
CommitLineData
281738a4 1use warnings;
2use strict;
3
4use Test::More;
281738a4 5use lib 't/lib';
6use DBICTest;
a8064486 7
d146b340 8require DBIx::Class;
9unless ( DBIx::Class::Optional::Dependencies->req_ok_for ('test_notabs') ) {
10 my $missing = DBIx::Class::Optional::Dependencies->req_missing_for ('test_notabs');
39c9c72d 11 (! DBICTest::RunMode->is_plain && ! DBICTest::RunMode->is_smoker )
d146b340 12 ? die ("Failed to load release-testing module requirements: $missing")
13 : plan skip_all => "Test needs: $missing"
a8064486 14}
15
f90896ae 16Test::NoTabs::all_perl_files_ok(
17 qw/t xt lib script/,
39c9c72d 18 DBICTest::RunMode->is_author ? ('maint') : (),
f90896ae 19);
281738a4 20
8273e845 21# FIXME - Test::NoTabs declares 'no_plan' which conflicts with done_testing
22# https://github.com/schwern/test-more/issues/14
d146b340 23#done_testing;