From a5b71a3c7f177248e0058b8287358f5fca8517b1 Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Tue, 2 Jan 2018 11:24:26 -0500 Subject: Docx reader: Add tests for paragraph insertion/deletion. --- test/Tests/Readers/Docx.hs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test/Tests') 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" -- cgit v1.2.3