Add check for wrong number of newlines at the end of the file
[catagits/Test-EOL.git] / t / 11-all.t
index dbb4e0f..80cf2d7 100644 (file)
@@ -19,7 +19,7 @@ my $file3 = make_file3();
 eol_unix_ok( $file3 );
 
 my $file4 = make_file3();
-eol_unix_ok( $file3, { trailing_whitespace => 1 });
+eol_unix_ok( $file3, { trailing_whitespace => 1, trailing_newline => 1 });
 
 unlink foreach ( $file1, $file2, $file3, $file4 );