File: author-eol.t

package info (click to toggle)
librt-client-rest-perl 1%3A0.56-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 568 kB
  • sloc: perl: 4,205; makefile: 9
file content (34 lines) | stat: -rw-r--r-- 843 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

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/RT/Client/REST.pm',
    'lib/RT/Client/REST/Attachment.pm',
    'lib/RT/Client/REST/Exception.pm',
    'lib/RT/Client/REST/Forms.pm',
    'lib/RT/Client/REST/Group.pm',
    'lib/RT/Client/REST/HTTPClient.pm',
    'lib/RT/Client/REST/Object.pm',
    'lib/RT/Client/REST/Object/Exception.pm',
    'lib/RT/Client/REST/Queue.pm',
    'lib/RT/Client/REST/SearchResult.pm',
    'lib/RT/Client/REST/Ticket.pm',
    'lib/RT/Client/REST/Transaction.pm',
    'lib/RT/Client/REST/User.pm'
);

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