aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Tests/Writers/Docx.hs10
-rw-r--r--test/docx/custom_style.native (renamed from test/docx/custom-style-roundtrip-start.native)0
-rw-r--r--test/docx/golden/custom_style_no_reference.docxbin0 -> 9724 bytes
-rw-r--r--test/docx/golden/custom_style_reference.docxbin0 -> 12118 bytes
4 files changed, 10 insertions, 0 deletions
diff --git a/test/Tests/Writers/Docx.hs b/test/Tests/Writers/Docx.hs
index 57e55e354..c9bc42de4 100644
--- a/test/Tests/Writers/Docx.hs
+++ b/test/Tests/Writers/Docx.hs
@@ -144,4 +144,14 @@ tests = [ testGroup "inlines"
"docx/comments.native"
"docx/golden/comments.docx"
]
+ , testGroup "custom styles"
+ [ docxTest "custom styles without reference.docx"
+ def
+ "docx/custom_style.native"
+ "docx/golden/custom_style_no_reference.docx"
+ , docxTest "custom styles without reference.docx"
+ def{writerReferenceDoc = Just "docx/custom-style-reference.docx"}
+ "docx/custom_style.native"
+ "docx/golden/custom_style_reference.docx"
+ ]
]
diff --git a/test/docx/custom-style-roundtrip-start.native b/test/docx/custom_style.native
index c4566ed85..c4566ed85 100644
--- a/test/docx/custom-style-roundtrip-start.native
+++ b/test/docx/custom_style.native
diff --git a/test/docx/golden/custom_style_no_reference.docx b/test/docx/golden/custom_style_no_reference.docx
new file mode 100644
index 000000000..78f56893c
--- /dev/null
+++ b/test/docx/golden/custom_style_no_reference.docx
Binary files differ
diff --git a/test/docx/golden/custom_style_reference.docx b/test/docx/golden/custom_style_reference.docx
new file mode 100644
index 000000000..dfc2c960b
--- /dev/null
+++ b/test/docx/golden/custom_style_reference.docx
Binary files differ