t/author-eol.t

filter: Statementstmt 100% 6 / 6 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 90.0% 9 / 10 SCAR 7.0
CC
2
Cov
88%
BEGIN
2.0
BEGIN
1.0
CRAP 2.0
↑ Summary t/author-no-tabs.t »
1  
2 BEGIN {
3 1 ▶ unless ($ENV{AUTHOR_TESTING}) {
Subroutine BEGIN: called CC=2 SCAR=7.1
Branch: 1 branch
BranchTrueFalseTotal
unless ($ENV{"AUTHOR_TESTING"}) 1 0 1
4 1 require Test::More;
5 1 Test::More::plan(skip_all => 'these tests are for testing by the author');
6 }
7 }
8  
9 use strict;
10 use warnings;
11  
12 # this test was generated with Dist::Zilla::Plugin::Test::EOL 0.18
13  
14 use Test::More 0.88;
15 use Test::EOL;
16  
17 my @files = (
18 'lib/Task/Bootstrap/Perl/CPAN.pm',
19 't/00-compile.t',
20 't/author-eol.t',
21 't/author-no-tabs.t',
22 't/author-pod-syntax.t',
23 't/placeholder.t',
24 't/release-pod-coverage.t'
25 );
26  
27 eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
28 done_testing;
↑ Summary t/author-no-tabs.t »