File: author-eol.t

package info (click to toggle)
libmaxmind-db-common-perl 0.040001-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 264 kB
  • sloc: perl: 1,050; makefile: 2
file content (42 lines) | stat: -rw-r--r-- 1,017 bytes parent folder | download
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

BEGIN {
  unless ($ENV{AUTHOR_TESTING}) {
    require Test::More;
    Test::More::plan(skip_all => 'these tests are for testing by the author');
  }
}

use strict;
use warnings;

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

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

my @files = (
    'lib/MaxMind/DB/Common.pm',
    'lib/MaxMind/DB/Metadata.pm',
    'lib/MaxMind/DB/Role/Debugs.pm',
    'lib/MaxMind/DB/Types.pm',
    'lib/Test/MaxMind/DB/Common/Data.pm',
    'lib/Test/MaxMind/DB/Common/Util.pm',
    't/00-report-prereqs.dd',
    't/00-report-prereqs.t',
    't/MaxMind/DB/Common.t',
    't/MaxMind/DB/Metadata.t',
    't/author-00-compile.t',
    't/author-eol.t',
    't/author-no-tabs.t',
    't/author-pod-spell.t',
    't/author-pod-syntax.t',
    't/author-test-version.t',
    't/compile.t',
    't/release-cpan-changes.t',
    't/release-portability.t',
    't/release-synopsis.t',
    't/release-tidyall.t'
);

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