Docx writer tests: Add tests for custom styles
This commit is contained in:
parent
a66bfd9071
commit
ebcd04f57a
4 changed files with 10 additions and 0 deletions
|
@ -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"
|
||||
]
|
||||
]
|
||||
|
|
BIN
test/docx/golden/custom_style_no_reference.docx
Normal file
BIN
test/docx/golden/custom_style_no_reference.docx
Normal file
Binary file not shown.
BIN
test/docx/golden/custom_style_reference.docx
Normal file
BIN
test/docx/golden/custom_style_reference.docx
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue