Revision history for Test-EOL
- Fix test fails on < 5.8 perls
+ - Fix t/13-latin1.t failures on Win32 and under TB1.5
1.0 2012-01-05
- Fix misleading test failure diagnostics when only issue are
print $fh "\xE1\xF3 how na\xEFve";
close $fh;
- my (undef, $outfile) = tempfile();
+ my (undef, $stderr) = tempfile();
- `$^X -MTest::EOL -e "all_perl_files_ok( '$tmpdir' )" >$outfile 2>&1`;
+ `$^X -MTest::EOL -e "all_perl_files_ok( '$tmpdir' )" 2>$stderr`;
ok(! $? );
- my $out = do { local (@ARGV, $/) = $outfile; <> };
+ my $out = do { local (@ARGV, $/) = $stderr; <> };
is (
$out,
- "ok 1 - No incorrect line endings in '$filename'\n1..1\n",
- 'no malformed unicode warnings',
+ '',
+ 'no malformed unicode warnings on STDERR',
);
- unlink $outfile;
+ unlink $stderr;
}