9 unless ( DBIx::Class::Optional::Dependencies->req_ok_for ('test_eol') ) {
10 my $missing = DBIx::Class::Optional::Dependencies->req_missing_for ('test_eol');
12 ? die ("Failed to load release-testing module requirements: $missing")
13 : plan skip_all => "Test needs: $missing"
16 Test::EOL::all_perl_files_ok({ trailing_whitespace => 1 },
17 qw/t xt lib script examples/,
18 DBICTest::RunMode->is_author ? ('maint') : (),
21 # Changes is not a "perl file", hence checked separately
22 Test::EOL::eol_unix_ok('Changes', { trailing_whitespace => 1 });
24 # FIXME - Test::EOL declares 'no_plan' which conflicts with done_testing
25 # https://github.com/schwern/test-more/issues/14