Reverted r471. My alternative to --strip-trailing-cr didn't
work. This only affects the test target on systems without GNU diff (rare), so I'm not too worried about it. git-svn-id: https://pandoc.googlecode.com/svn/trunk@480 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
edfac2b491
commit
46580147a5
1 changed files with 1 additions and 2 deletions
|
@ -23,8 +23,7 @@ sub test_results
|
|||
my $testname = $_[0];
|
||||
my $output = $_[1];
|
||||
my $norm = $_[2];
|
||||
$output =~ s/\r$//; # remove DOS line endings if present
|
||||
my $diffoutput = `diff $output $norm`;
|
||||
my $diffoutput = `diff --strip-trailing-cr $output $norm`;
|
||||
if ($diffoutput eq "")
|
||||
{
|
||||
print "PASSED\n";
|
||||
|
|
Loading…
Reference in a new issue