diff options
author | claremacrae <github@cfmacrae.fastmail.co.uk> | 2013-08-17 18:53:01 +0100 |
---|---|---|
committer | claremacrae <github@cfmacrae.fastmail.co.uk> | 2013-08-17 18:53:01 +0100 |
commit | 2ae2fcde2f52266d8c8f36225c718ff2a2caea73 (patch) | |
tree | 59e4b97ebf45830bd88b474f1721726ea98b4578 /tests | |
parent | 0961d499121e20473dfc02cfd1d7282f89436700 (diff) | |
download | pandoc-2ae2fcde2f52266d8c8f36225c718ff2a2caea73.tar.gz |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Tests/Old.hs | 7 | ||||
-rw-r--r-- | tests/dokuwiki-writer.dokuwiki | 1 | ||||
-rw-r--r-- | tests/dokuwiki-writer.native | 1 |
3 files changed, 8 insertions, 1 deletions
diff --git a/tests/Tests/Old.hs b/tests/Tests/Old.hs index 6821db3fc..573ec1afe 100644 --- a/tests/Tests/Old.hs +++ b/tests/Tests/Old.hs @@ -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" ] ] diff --git a/tests/dokuwiki-writer.dokuwiki b/tests/dokuwiki-writer.dokuwiki new file mode 100644 index 000000000..98412b904 --- /dev/null +++ b/tests/dokuwiki-writer.dokuwiki @@ -0,0 +1 @@ +hello // world diff --git a/tests/dokuwiki-writer.native b/tests/dokuwiki-writer.native new file mode 100644 index 000000000..1cdad17d2 --- /dev/null +++ b/tests/dokuwiki-writer.native @@ -0,0 +1 @@ +[Para [Str "hello",Space,Str "//",Space,Str "world"]] |