package Dist::Zilla::Plugin::Author::SKIRMESS::Test::XT::Test::EOL;

use 5.006;
use strict;
use warnings;

our $VERSION = '0.006';

use Moose;

has 'filename' => (
    is      => 'ro',
    isa     => 'Str',
    default => 'xt/release/eol.t',
);

with qw(
  Dist::Zilla::Role::Author::SKIRMESS::Test::XT
);

use namespace::autoclean;

sub test_body {
    my ($self) = @_;

    return <<'TEST_BODY';
use Test::EOL;
all_perl_files_ok( { trailing_whitespace => 1 }, grep { -d } qw( bin lib t xt) );
TEST_BODY
}

1;

# vim: ts=4 sts=4 sw=4 et: syntax=perl
