git.iko.soy/typeable/pandoc
on master help sign in
Replaced diff --strip-trailing-cr with something more portable
35a06b9fiddlosopher
tests/runtests.pl+2−1
@@ -23,7 +23,8 @@ 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$//;
26− my $diffoutput = `diff --strip-trailing-cr $output $norm`;
27+ my $diffoutput = `diff $output $norm`;
27 if ($diffoutput eq "")
28 if ($diffoutput eq "")
28 {
29 {
29 print "PASSED\n";
30 print "PASSED\n";