Added stubs for haddock reader tests.

Modify tests/haddock-reader.haddock and
tests/haddock-reader.native.
This commit is contained in:
John MacFarlane 2013-03-28 15:58:09 -07:00
parent 05bc6a5af1
commit 0b85ad7546
4 changed files with 9 additions and 0 deletions

View file

@ -118,6 +118,8 @@ Extra-Source-Files:
tests/html-reader.native,
tests/opml-reader.html,
tests/opml-reader.native,
tests/haddock-reader.html,
tests/haddock-reader.native,
tests/insert,
tests/lalune.jpg,
tests/movie.jpg,

View file

@ -130,6 +130,10 @@ tests = [ testGroup "markdown"
, test "reader" ["-r", "opml", "-w", "native", "-s"]
"opml-reader.opml" "opml-reader.native"
]
, testGroup "haddock"
[ test "reader" ["-r", "haddock", "-w", "native", "-s"]
"haddock-reader.haddock" "haddock-reader.native"
]
, testGroup "other writers" $ map (\f -> testGroup f $ writerTests f)
[ "opendocument" , "context" , "texinfo"
, "man" , "plain" , "rtf", "org", "asciidoc"

View file

@ -0,0 +1 @@
test

View file

@ -0,0 +1,2 @@
Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []})
[Para [Str "test"]]