From ebcd04f57a4693447a47891c4cf3654e023d4f13 Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Sat, 27 Jan 2018 11:46:41 -0500 Subject: Docx writer tests: Add tests for custom styles --- test/Tests/Writers/Docx.hs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test/Tests') 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" + ] ] -- cgit v1.2.3