File: eol.t

package info (click to toggle)
libdist-zilla-plugin-test-eol-perl 0.19-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 348 kB
  • sloc: perl: 340; makefile: 2
file content (44 lines) | stat: -rw-r--r-- 1,083 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
use strict;
use warnings;

# this test was generated with Dist::Zilla::Plugin::Test::EOL 0.19

use Test::More 0.88;
use Test::EOL;

my @files = (
    't/00-report-prereqs.dd',
    't/00-report-prereqs.t',
    't/01-basic.t',
    't/02-eoltests.t',
    't/03-finder.t',
    't/04-filename.t',
    't/eol.t',
    't/prereqs.t',
    't/zzz-check-breaks.t',
    'xt/author/00-compile.t',
    'xt/author/clean-namespaces.t',
    'xt/author/critic.t',
    'xt/author/kwalitee.t',
    'xt/author/mojibake.t',
    'xt/author/no-tabs.t',
    'xt/author/pod-coverage.t',
    'xt/author/pod-no404s.t',
    'xt/author/pod-spell.t',
    'xt/author/pod-syntax.t',
    'xt/author/portability.t',
    'xt/author/test-version.t',
    'xt/release/changes_has_content.t',
    'xt/release/cpan-changes.t',
    'xt/release/minimum-version.t'
);

my $prefix = $ENV{AUTOPKGTEST_TMP} ? '/usr/share/perl5' : 'lib';

unshift @files, (
    "${prefix}/Dist/Zilla/Plugin/EOLTests.pm",
    "${prefix}/Dist/Zilla/Plugin/Test/EOL.pm",
);

eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
done_testing;