Cleanup the the last failing test on Win32: 'bad_file_3' generated file is
now a pure Win32 file (without the fancy crazy \r it had before).
The failure is now expected at line 1, instead of line 9 as the first line with
\r is line 1. (I don't understand why Test::EOL was supposed to detect only
fancy multiple \r instead of *any*).
Now, all tests pass on Win32 (RT#76037)!
{
my ($dir, $file) = make_bad_file_3();
run_ok( "all_perl_files_ok( '$file' )",
- qr/^not ok 1 - No incorrect line endings in '[^']*' \Qon line 9: [\r][\r][\r]/m,
+ qr/^not ok 1 - No incorrect line endings in '[^']*' \Qon line 1: [\r] /m,
'windows EOL found in tmp file 3' );
}
my (\$class) = \@_;\r
my \$self = bless { }, \$class;\r
return \$self;\r
-}\r\r\r\r
-
+}\r
+\r
\r
1;\r
DUMMY