From 448f5b151e23ef67948954129946623229308658 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 18 Oct 2015 11:52:32 -0700 Subject: Tests: Unset `pandoc-version` so we don't get the comment... in the man writer test. Otherwise this needs updating every version bump. --- tests/Tests/Old.hs | 3 ++- tests/writer.man | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/Tests/Old.hs b/tests/Tests/Old.hs index 5cfee9f76..2507bfa76 100644 --- a/tests/Tests/Old.hs +++ b/tests/Tests/Old.hs @@ -196,7 +196,8 @@ writerTests format , test "tables" opts "tables.native" ("tables" <.> format) ] where - opts = ["-r", "native", "-w", format, "--columns=78"] + opts = ["-r", "native", "-w", format, "--columns=78", + "--variable", "pandoc-version="] s5WriterTest :: String -> [String] -> String -> Test s5WriterTest modifier opts format diff --git a/tests/writer.man b/tests/writer.man index 4b0731772..48d907fc0 100644 --- a/tests/writer.man +++ b/tests/writer.man @@ -1,5 +1,3 @@ -.\" Automatically generated by Pandoc 1.15.1 -.\" .hy .TH "Pandoc Test Suite" "" "July 17, 2006" "" "" .PP -- cgit v1.2.3