aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Tests/Old.hs4
-rw-r--r--tests/haddock-reader.haddock1
-rw-r--r--tests/haddock-reader.native2
3 files changed, 7 insertions, 0 deletions
diff --git a/tests/Tests/Old.hs b/tests/Tests/Old.hs
index 45c430c33..0ba240084 100644
--- a/tests/Tests/Old.hs
+++ b/tests/Tests/Old.hs
@@ -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"
diff --git a/tests/haddock-reader.haddock b/tests/haddock-reader.haddock
new file mode 100644
index 000000000..9daeafb98
--- /dev/null
+++ b/tests/haddock-reader.haddock
@@ -0,0 +1 @@
+test
diff --git a/tests/haddock-reader.native b/tests/haddock-reader.native
new file mode 100644
index 000000000..482cd2fe2
--- /dev/null
+++ b/tests/haddock-reader.native
@@ -0,0 +1,2 @@
+Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []})
+[Para [Str "test"]]