git.iko.soy/typeable/pandoc
on master help sign in
Reverted r471. My alternative to --strip-trailing-cr didn't
4658014fiddlosopher
tests/runtests.pl+1−2
@@ -23,8 +23,7 @@ sub test_results
23 my $testname = $_[0];
23 my $testname = $_[0];
24 my $output = $_[1];
24 my $output = $_[1];
25 my $norm = $_[2];
25 my $norm = $_[2];
26− $output =~ s/\r$//; # remove DOS line endings if present
27− my $diffoutput = `diff $output $norm`;
26+ my $diffoutput = `diff --strip-trailing-cr $output $norm`;
28 if ($diffoutput eq "")
27 if ($diffoutput eq "")
29 {
28 {
30 print "PASSED\n";
29 print "PASSED\n";