aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2018-01-02 11:24:26 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2018-01-02 11:32:48 -0500
commita5b71a3c7f177248e0058b8287358f5fca8517b1 (patch)
tree8bfab0c64c37afa7e832678416067c812510af0f /test/Tests/Readers
parent2e90e2932cb0195be2e5955ce7c52616a2b7414a (diff)
downloadpandoc-a5b71a3c7f177248e0058b8287358f5fca8517b1.tar.gz
Docx reader: Add tests for paragraph insertion/deletion.
Diffstat (limited to 'test/Tests/Readers')
-rw-r--r--test/Tests/Readers/Docx.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Tests/Readers/Docx.hs b/test/Tests/Readers/Docx.hs
index d79b8a063..68c2e3476 100644
--- a/test/Tests/Readers/Docx.hs
+++ b/test/Tests/Readers/Docx.hs
@@ -335,6 +335,18 @@ tests = [ testGroup "inlines"
"comments (all comments)"
"docx/comments.docx"
"docx/comments.native"
+ , testCompareWithOpts def{readerTrackChanges=AcceptChanges}
+ "paragraph insertion/deletion (accept)"
+ "docx/paragraph_insertion_deletion.docx"
+ "docx/paragraph_insertion_deletion_accept.native"
+ , testCompareWithOpts def{readerTrackChanges=RejectChanges}
+ "paragraph insertion/deletion (reject)"
+ "docx/paragraph_insertion_deletion.docx"
+ "docx/paragraph_insertion_deletion_reject.native"
+ , testCompareWithOpts def{readerTrackChanges=AllChanges}
+ "paragraph insertion/deletion (all)"
+ "docx/paragraph_insertion_deletion.docx"
+ "docx/paragraph_insertion_deletion_all.native"
, testForWarningsWithOpts def{readerTrackChanges=AcceptChanges}
"comment warnings (accept -- no warnings)"
"docx/comments_warning.docx"