Added stubs for haddock reader tests.
Modify tests/haddock-reader.haddock and tests/haddock-reader.native.
This commit is contained in:
parent
05bc6a5af1
commit
0b85ad7546
4 changed files with 9 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -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"
|
||||
|
|
1
tests/haddock-reader.haddock
Normal file
1
tests/haddock-reader.haddock
Normal file
|
@ -0,0 +1 @@
|
|||
test
|
2
tests/haddock-reader.native
Normal file
2
tests/haddock-reader.native
Normal file
|
@ -0,0 +1,2 @@
|
|||
Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []})
|
||||
[Para [Str "test"]]
|
Loading…
Reference in a new issue