diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2018-02-22 12:06:25 -0500 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2018-02-22 13:05:44 -0500 |
commit | ffcecfacb1e60e68e5a486bf815bf77db7a34759 (patch) | |
tree | d5b0191648c735515a1a5fc294c686d13f9122bc /test/Tests/Readers | |
parent | 5262c0853acbef6dd25d9d6cbda26120859b45ff (diff) | |
download | pandoc-ffcecfacb1e60e68e5a486bf815bf77db7a34759.tar.gz |
Docx reader tests: test custom style extension.
Diffstat (limited to 'test/Tests/Readers')
-rw-r--r-- | test/Tests/Readers/Docx.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Tests/Readers/Docx.hs b/test/Tests/Readers/Docx.hs index 9c9a8179b..cef80d6d1 100644 --- a/test/Tests/Readers/Docx.hs +++ b/test/Tests/Readers/Docx.hs @@ -372,6 +372,17 @@ tests = [ testGroup "inlines" "image extraction" "docx/image.docx" ] + , testGroup "custom styles" + [ testCompare + "custom styles (`+styles`) not enabled (default)" + "docx/custom-style-reference.docx" + "docx/custom-style-no-styles.native" + , testCompareWithOpts + def{readerExtensions=extensionsFromList [Ext_styles]} + "custom styles (`+styles`) enabled" + "docx/custom-style-reference.docx" + "docx/custom-style-with-styles.native" + ] , testGroup "metadata" [ testCompareWithOpts def{readerStandalone=True} "metadata fields" |