aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-03-17 17:43:51 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-03-19 20:22:14 -0700
commit74d53f4347623631c17be557d3682dd807214263 (patch)
treea2215a0499b465ac057b2a89ae57d450e609db0d /tests/Tests
parentb3661adadae5eecc21e97b206d222c89d443dfda (diff)
downloadpandoc-74d53f4347623631c17be557d3682dd807214263.tar.gz
Added Text.Pandoc.Readers.OPML, exporting readOPML.
The _note attribute is supported. This is unofficial, but used e.g. in OmniOutliner and supported by multimarkdown. We treat the contents as markdown blocks under a section header. Added to documentation and tests.
Diffstat (limited to 'tests/Tests')
-rw-r--r--tests/Tests/Old.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Tests/Old.hs b/tests/Tests/Old.hs
index 9e7493504..c22fa9830 100644
--- a/tests/Tests/Old.hs
+++ b/tests/Tests/Old.hs
@@ -124,6 +124,10 @@ tests = [ testGroup "markdown"
, test "reader" ["-r", "mediawiki", "-w", "native", "-s"]
"mediawiki-reader.wiki" "mediawiki-reader.native"
]
+ , testGroup "opml"
+ [ test "reader" ["-r", "opml", "-w", "native", "-s"]
+ "opml-reader.opml" "opml-reader.native"
+ ]
, testGroup "other writers" $ map (\f -> testGroup f $ writerTests f)
[ "opendocument" , "context" , "texinfo"
, "man" , "plain" , "rtf", "org", "asciidoc"