File: author-eol.t

package info (click to toggle)
libstring-diff-perl 0.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 300 kB
  • sloc: perl: 333; sh: 20; makefile: 2
file content (39 lines) | stat: -rw-r--r-- 800 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

BEGIN {
  unless ($ENV{AUTHOR_TESTING}) {
    print qq{1..0 # SKIP these tests are for testing by the author\n};
    exit
  }
}

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 = (
    'lib/String/Diff.pm',
    't/00-compile.t',
    't/00_compile-pp.t',
    't/00_compile.t',
    't/01_export-pp.t',
    't/01_export.t',
    't/02_diff_fully-pp.t',
    't/02_diff_fully.t',
    't/03_diff-pp.t',
    't/03_diff.t',
    't/04_diff_merge-pp.t',
    't/04_diff_merge.t',
    't/05_diff_regexp-pp.t',
    't/05_diff_regexp.t',
    't/06_escape.t',
    't/author-eol.t',
    't/author-pod-coverage.t',
    't/author-pod-syntax.t'
);

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