diff options
author | John MacFarlane <jgm@berkeley.edu> | 2013-03-28 15:58:09 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2013-03-28 15:58:09 -0700 |
commit | 0b85ad754652b7170b6e50ec3ae1fa6222c71915 (patch) | |
tree | ed8b91f68cbed6a1d41c389d58f3cd1e5339ffd0 /tests | |
parent | 05bc6a5af17c72956a563c8f39e7d032dc5d26f6 (diff) | |
download | pandoc-0b85ad754652b7170b6e50ec3ae1fa6222c71915.tar.gz |
Added stubs for haddock reader tests.
Modify tests/haddock-reader.haddock and
tests/haddock-reader.native.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Tests/Old.hs | 4 | ||||
-rw-r--r-- | tests/haddock-reader.haddock | 1 | ||||
-rw-r--r-- | tests/haddock-reader.native | 2 |
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"]] |