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