git.iko.soy/typeable/pandoc
on master help sign in
Tests: Unset `pandoc-version` so we don't get the comment...

in the man writer test. Otherwise this needs updating every version bump.

commit448f5b151e23ef67948954129946623229308658 authorJohn MacFarlane <jgm@berkeley.edu> dateSun 18 Oct 2015, 11:52 (11 years ago) parent3b87933
2 files changed+2−3
tests/Tests/Old.hs+2−1 tests/writer.man−2
tests/Tests/Old.hs+2−1
@@ -196,7 +196,8 @@ writerTests format
196196 , test "tables" opts "tables.native" ("tables" <.> format)
197197 ]
198198 where
199− opts = ["-r", "native", "-w", format, "--columns=78"]
199+ opts = ["-r", "native", "-w", format, "--columns=78",
200+ "--variable", "pandoc-version="]
200201
201202s5WriterTest :: String -> [String] -> String -> Test
202203s5WriterTest modifier opts format
tests/writer.man−2
@@ -1,5 +1,3 @@
1−.\" Automatically generated by Pandoc 1.15.1
2−.\"
31.hy
42.TH "Pandoc Test Suite" "" "July 17, 2006" "" ""
53.PP