File: author-eol.t

package info (click to toggle)
libhtml-format-perl 2.16-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 404 kB
  • sloc: perl: 2,018; makefile: 2
file content (47 lines) | stat: -rw-r--r-- 1,088 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
43
44
45
46
47

BEGIN {
  unless ($ENV{AUTHOR_TESTING}) {
    print "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/HTML/FormatMarkdown.pm',
    'lib/HTML/FormatPS.pm',
    'lib/HTML/FormatRTF.pm',
    'lib/HTML/FormatText.pm',
    'lib/HTML/Formatter.pm',
    't/00-compile.t',
    't/00-report-prereqs.dd',
    't/00-report-prereqs.t',
    't/01_ps.t',
    't/02_rtf.t',
    't/03_text.t',
    't/04_md.t',
    't/data/expected/test.md',
    't/data/expected/test.ps',
    't/data/expected/test.rtf',
    't/data/expected/test.txt',
    't/data/expected/unicode.md',
    't/data/expected/unicode.ps',
    't/data/expected/unicode.rtf',
    't/data/expected/unicode.txt',
    't/data/in/test.html',
    't/data/in/unicode.html',
    't/lib/Test/HTML/Formatter.pm',
    't/rt111783.t',
    't/rt69426.t',
    't/support/generate_results.pl'
);

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