Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nigel Horne
committed
Oct 5, 2020
1 parent
4aae6c8
commit 6eb6f0d
Showing
4 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ t/coverage.t | |
t/critic.t | ||
t/cv.t | ||
t/dist.t | ||
t/eol.t | ||
t/gv.t | ||
t/is_cached.t | ||
t/js.t | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
use strict; | ||
use warnings; | ||
|
||
use Test::Most; | ||
|
||
BEGIN { | ||
if($ENV{AUTHOR_TESTING}) { | ||
eval { | ||
require Test::EOL; | ||
}; | ||
if($@) { | ||
plan(skip_all => 'Test::EOL not installed'); | ||
} else { | ||
import Test::EOL; | ||
all_perl_files_ok({ trailing_whitespace => 1 }); | ||
} | ||
} else { | ||
plan(skip_all => 'Author tests not required for installation'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters