Commit | Line | Data |
---|---|---|
bd1954f9 | 1 | use strict; |
2 | use warnings; | |
3 | ||
4 | use File::Spec; | |
5 | use Test::More; | |
6 | ||
7 | if ( !-e "inc/.author" ) { | |
8 | plan skip_all => 'NoTabs test only for developers.'; | |
9 | } | |
10 | else { | |
11 | eval { require Test::NoTabs }; | |
12 | if ( $@ ) { | |
13 | plan tests => 1; | |
14 | fail( 'You must install Test::NoTabs to run 01_no_tabs.t' ); | |
15 | exit; | |
16 | } | |
17 | } | |
18 | ||
19 | Test::NoTabs->import; | |
20 | all_perl_files_ok(qw/lib/); |