From ff93d50142748e85979c8ebb6be3bf12d13d7169 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sun, 24 Dec 2006 22:58:29 +0000 Subject: + Added --strip-trailing-cr option to diff in runtests.pl, so that the test suite will work in Windows. + Converted some CR's to LF's in print.css and adjusted test suite accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@290 788f1e2b-df1e-0410-8736-df70ead52e1b --- tests/runtests.pl | 2 +- tests/s5.basic.html | 26 +++++++++++++++++++++++++- tests/s5.fancy.html | 26 +++++++++++++++++++++++++- 3 files changed, 51 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/runtests.pl b/tests/runtests.pl index 662862e44..f37ec31ba 100644 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -23,7 +23,7 @@ sub test_results my $testname = $_[0]; my $output = $_[1]; my $norm = $_[2]; - my $diffoutput = `diff $output $norm`; + my $diffoutput = `diff --strip-trailing-cr $output $norm`; if ($diffoutput eq "") { print "PASSED\n"; diff --git a/tests/s5.basic.html b/tests/s5.basic.html index 88510a74c..29934e6c1 100644 --- a/tests/s5.basic.html +++ b/tests/s5.basic.html @@ -157,7 +157,31 @@ html>body #toggle {position: fixed; top: 0; right: 0;}