aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2017-08-06 19:36:25 -0700
committerJesse Rosenthal <jrosenthal@jhu.edu>2017-08-06 19:36:25 -0700
commita67a96b932344f5677be2fb810fb788a1988bd0b (patch)
tree26cac6a2071884617b252338850972f9466ccca0 /test/Tests/Readers
parenta36a56b8ac5fea612c1d0614d4e1cb14ffc3a21b (diff)
downloadpandoc-a67a96b932344f5677be2fb810fb788a1988bd0b.tar.gz
Docx reader: Add tests for avoiding zero-level header.
Diffstat (limited to 'test/Tests/Readers')
-rw-r--r--test/Tests/Readers/Docx.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Tests/Readers/Docx.hs b/test/Tests/Readers/Docx.hs
index e55c3529b..c6ab8f493 100644
--- a/test/Tests/Readers/Docx.hs
+++ b/test/Tests/Readers/Docx.hs
@@ -186,6 +186,10 @@ tests = [ testGroup "inlines"
"docx/already_auto_ident.docx"
"docx/already_auto_ident.native"
, testCompare
+ "avoid zero-level headers"
+ "docx/0_level_headers.docx"
+ "docx/0_level_headers.native"
+ , testCompare
"nested anchor spans in header"
"docx/nested_anchors_in_header.docx"
"docx/nested_anchors_in_header.native"