aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-10-18 11:52:32 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-10-18 11:52:32 -0700
commit448f5b151e23ef67948954129946623229308658 (patch)
treebd20d4849baa3726fcd599a10ee3d8a037244c03
parent3b8793304e5a752b757840d33ecb0a91577d7412 (diff)
downloadpandoc-448f5b151e23ef67948954129946623229308658.tar.gz
Tests: Unset `pandoc-version` so we don't get the comment...
in the man writer test. Otherwise this needs updating every version bump.
-rw-r--r--tests/Tests/Old.hs3
-rw-r--r--tests/writer.man2
2 files changed, 2 insertions, 3 deletions
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