aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Tests/Old.hs7
-rw-r--r--tests/dokuwiki-writer.dokuwiki1
-rw-r--r--tests/dokuwiki-writer.native1
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"]]