aboutsummaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorStephen Reindl <[email protected]>2025-01-31 00:23:53 +0100
committerGitHub <[email protected]>2025-01-30 15:23:53 -0800
commit3c8ca600eff9db0e3f2a5740df85680cc2c8cec3 (patch)
tree30817e7f1318169308dcf6f1ce9955a1c4bd04e4 /test/Tests
parent31e36d4fd5cfb611e66a7218cb9be5ac9d5dfc10 (diff)
DOCX reader: do not issue warning for comments with `+styles` (#10572)
Closes #10571. Co-authored-by: Stephen Reindl <[email protected]>
Diffstat (limited to 'test/Tests')
-rw-r--r--test/Tests/Readers/Docx.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Tests/Readers/Docx.hs b/test/Tests/Readers/Docx.hs
index 58818c56f..f975edd12 100644
--- a/test/Tests/Readers/Docx.hs
+++ b/test/Tests/Readers/Docx.hs
@@ -487,6 +487,11 @@ tests = [ testGroup "document"
"comment warnings (all)"
"docx/comments_warning.docx"
["Docx comment 1 will not retain formatting"]
+ , testForWarningsWithOpts def{readerTrackChanges=AllChanges,
+ readerExtensions=extensionsFromList [Ext_styles]}
+ "comments (with styles extension)"
+ "docx/comments.docx"
+ []
]
, testGroup "media"
[ testMediaBag