Try::Tiny is a part of the clan
[dbsrgits/DBIx-Class.git] / t / 06notabs.t
CommitLineData
281738a4 1use warnings;
2use strict;
3
4use Test::More;
281738a4 5use lib 't/lib';
6use DBICTest;
a8064486 7
a8064486 8# Don't run tests for installs
281738a4 9unless ( DBICTest::AuthorCheck->is_author || $ENV{AUTOMATED_TESTING} || $ENV{RELEASE_TESTING} ) {
10 plan( skip_all => "Author tests not required for installation" );
11}
d146b340 12
13require DBIx::Class;
14unless ( DBIx::Class::Optional::Dependencies->req_ok_for ('test_notabs') ) {
15 my $missing = DBIx::Class::Optional::Dependencies->req_missing_for ('test_notabs');
16 $ENV{RELEASE_TESTING} || DBICTest::AuthorCheck->is_author
17 ? die ("Failed to load release-testing module requirements: $missing")
18 : plan skip_all => "Test needs: $missing"
a8064486 19}
20
d146b340 21Test::NoTabs::all_perl_files_ok(qw/t lib script maint/);
281738a4 22
d146b340 23# FIXME - need to fix Test::NoTabs
24#done_testing;