projects
/
catagits/Test-EOL.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add check for wrong number of newlines at the end of the file
[catagits/Test-EOL.git]
/
t
/
10-use-self.t
diff --git
a/t/10-use-self.t
b/t/10-use-self.t
index
3e53f29
..
2579df2
100644
(file)
--- a/
t/10-use-self.t
+++ b/
t/10-use-self.t
@@
-2,5
+2,8
@@
use Test::EOL;
use Cwd;
use File::Spec;
-all_perl_files_ok(File::Spec->catdir(cwd(), 'lib'), { trailing_whitespace => 1 });
+all_perl_files_ok(File::Spec->catdir(cwd(), 'lib'), {
+ trailing_whitespace => 1,
+ trailing_newline => 1,
+});