git.iko.soy/typeable/pandoc
on master help sign in
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.

commit2ae2fcde2f52266d8c8f36225c718ff2a2caea73 authorclaremacrae <github@cfmacrae.fastmail.co.uk> dateSat 17 Aug 2013, 18:53 (13 years ago) parent0961d49
3 files changed+8−1
tests/Tests/Old.hs+6−1 tests/dokuwiki-writer.dokuwiki+1 tests/dokuwiki-writer.native+1
tests/Tests/Old.hs+6−1
@@ -124,6 +124,11 @@ tests = [ testGroup "markdown"
124124 , test "reader" ["-r", "mediawiki", "-w", "native", "-s"]
125125 "mediawiki-reader.wiki" "mediawiki-reader.native"
126126 ]
127+ , testGroup "dokuwiki"
128+ [ testGroup "writer" $ writerTests "dokuwiki"
129+ , test "writer-more" ["-r", "native", "-w", "dokuwiki", "-s"]
130+ "dokuwiki-writer.native" "dokuwiki-writer.dokuwiki"
131+ ]
127132 , testGroup "opml"
128133 [ test "basic" ["-r", "native", "-w", "opml", "--columns=78", "-s"]
129134 "testsuite.native" "writer.opml"
@@ -136,7 +141,7 @@ tests = [ testGroup "markdown"
136141 ]
137142 , testGroup "other writers" $ map (\f -> testGroup f $ writerTests f)
138143 [ "opendocument" , "context" , "texinfo"
139− , "man" , "plain" , "rtf", "org", "asciidoc", "dokuwiki"
144+ , "man" , "plain" , "rtf", "org", "asciidoc"
140145 ]
141146 ]
142147
tests/dokuwiki-writer.dokuwikinew file+1
@@ -0,0 +1 @@
1+hello // world
tests/dokuwiki-writer.nativenew file+1
@@ -0,0 +1 @@
1+[Para [Str "hello",Space,Str "//",Space,Str "world"]]