summaryrefslogtreecommitdiff
path: root/tests/Tests/Writers/Docx.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Tests/Writers/Docx.hs')
-rw-r--r--tests/Tests/Writers/Docx.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/Tests/Writers/Docx.hs b/tests/Tests/Writers/Docx.hs
index d662697a1..8e0f37818 100644
--- a/tests/Tests/Writers/Docx.hs
+++ b/tests/Tests/Writers/Docx.hs
@@ -137,5 +137,13 @@ tests = [ testGroup "inlines"
"stop recording metadata with normal text"
"docx/metadata_after_normal.native"
]
+ , testGroup "customized styles"
+ [ testCompareWithOpts
+ ( def{writerReferenceDocx=Just "docx/custom-style-reference.docx"}
+ , def)
+ "simple customized blocks and inlines"
+ "docx/custom-style-roundtrip-start.native"
+ "docx/custom-style-roundtrip-end.native"
+ ]
]