aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Old.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-12-27 09:15:45 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-12-27 09:15:45 -0800
commite23e1f3c22c865ba003c3bd32c5c05bef516c9e8 (patch)
tree138015eae39dc30450d25bde1ee903829323ba19 /test/Tests/Old.hs
parentd71165c8e2b348ee65c8d92d6ca5f8a24b1cfa92 (diff)
downloadpandoc-e23e1f3c22c865ba003c3bd32c5c05bef516c9e8.tar.gz
Added tests for custom writer.
Diffstat (limited to 'test/Tests/Old.hs')
-rw-r--r--test/Tests/Old.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Tests/Old.hs b/test/Tests/Old.hs
index bbd51ee98..b82251a56 100644
--- a/test/Tests/Old.hs
+++ b/test/Tests/Old.hs
@@ -162,6 +162,12 @@ tests = [ testGroup "markdown"
[ test "reader" ["-r", "creole", "-w", "native", "-s"]
"creole-reader.txt" "creole-reader.native"
]
+ , testGroup "custom writer"
+ [ test "basic" ["-f", "native", "-t", "../data/sample.lua"]
+ "testsuite.native" "writer.custom"
+ , test "tables" ["-f", "native", "-t", "../data/sample.lua"]
+ "tables.native" "tables.custom"
+ ]
]
-- makes sure file is fully closed after reading