Add check for wrong number of newlines at the end of the file
[catagits/Test-EOL.git] / t / 10-use-self.t
index 3e53f29..2579df2 100644 (file)
@@ -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,
+});