From 0b85ad754652b7170b6e50ec3ae1fa6222c71915 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 28 Mar 2013 15:58:09 -0700 Subject: Added stubs for haddock reader tests. Modify tests/haddock-reader.haddock and tests/haddock-reader.native. --- tests/Tests/Old.hs | 4 ++++ tests/haddock-reader.haddock | 1 + tests/haddock-reader.native | 2 ++ 3 files changed, 7 insertions(+) create mode 100644 tests/haddock-reader.haddock create mode 100644 tests/haddock-reader.native (limited to 'tests') 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"]] -- cgit v1.2.3