diff options
Diffstat (limited to 't/author-eof.t')
-rw-r--r-- | t/author-eof.t | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/t/author-eof.t b/t/author-eof.t new file mode 100644 index 0000000..0ae7431 --- /dev/null +++ b/t/author-eof.t @@ -0,0 +1,19 @@ + +BEGIN { + unless ($ENV{AUTHOR_TESTING}) { + print qq{1..0 # SKIP these tests are for testing by the author\n}; + exit + } +} + +use strict; +use warnings; +use Test::More; + +# Generated by Dist::Zilla::Plugin::Test::EOF 0.0600 +eval "use Test::EOF"; +plan skip_all => 'Test::EOF required to test for correct end of file flag' if $@; + +all_perl_files_ok({ minimum_newlines => 1, maximum_newlines => 4 }); + +done_testing(); |