mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
Docx writer tests: Add tests for custom styles
This commit is contained in:
@@ -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"
|
||||
]
|
||||
]
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user