mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-26 17:35:49 +00:00
Add extra pair of test files for dokuwiki writer (#386)
I've found some incorrect behaviours with the dokuwiki output, for which extra test cases will be needed - that aren't covered by the standard pandoc test input files.
This commit is contained in:
+6
-1
@@ -124,6 +124,11 @@ tests = [ testGroup "markdown"
|
||||
, test "reader" ["-r", "mediawiki", "-w", "native", "-s"]
|
||||
"mediawiki-reader.wiki" "mediawiki-reader.native"
|
||||
]
|
||||
, testGroup "dokuwiki"
|
||||
[ testGroup "writer" $ writerTests "dokuwiki"
|
||||
, test "writer-more" ["-r", "native", "-w", "dokuwiki", "-s"]
|
||||
"dokuwiki-writer.native" "dokuwiki-writer.dokuwiki"
|
||||
]
|
||||
, testGroup "opml"
|
||||
[ test "basic" ["-r", "native", "-w", "opml", "--columns=78", "-s"]
|
||||
"testsuite.native" "writer.opml"
|
||||
@@ -136,7 +141,7 @@ tests = [ testGroup "markdown"
|
||||
]
|
||||
, testGroup "other writers" $ map (\f -> testGroup f $ writerTests f)
|
||||
[ "opendocument" , "context" , "texinfo"
|
||||
, "man" , "plain" , "rtf", "org", "asciidoc", "dokuwiki"
|
||||
, "man" , "plain" , "rtf", "org", "asciidoc"
|
||||
]
|
||||
]
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
hello // world
|
||||
@@ -0,0 +1 @@
|
||||
[Para [Str "hello",Space,Str "//",Space,Str "world"]]
|
||||
Reference in New Issue
Block a user