summaryrefslogtreecommitdiff
path: root/tests/Tests
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2016-03-16 12:56:17 -0400
committerJesse Rosenthal <jrosenthal@jhu.edu>2016-03-16 12:56:17 -0400
commit7f4a40474c77a72cb66b9f583d241c1f21ef695f (patch)
tree11cd95827e7e1150acea6d64b66345e2d0be7221 /tests/Tests
parent855c8b43f0497125f8d24b113ce0df92ed7d074b (diff)
Docx reader: Add test for enumerated headers.
We don't want them to turn into a list.
Diffstat (limited to 'tests/Tests')
-rw-r--r--tests/Tests/Readers/Docx.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/Tests/Readers/Docx.hs b/tests/Tests/Readers/Docx.hs
index 9284d165a..e09d56529 100644
--- a/tests/Tests/Readers/Docx.hs
+++ b/tests/Tests/Readers/Docx.hs
@@ -169,10 +169,14 @@ tests = [ testGroup "inlines"
"docx/already_auto_ident.docx"
"docx/already_auto_ident.native"
, testCompare
- "numbered headers automatically made into list"
+ "single numbered item not made into list"
"docx/numbered_header.docx"
"docx/numbered_header.native"
, testCompare
+ "enumerated headers not made into numbered list"
+ "docx/enumerated_headings.docx"
+ "docx/enumerated_headings.native"
+ , testCompare
"i18n blocks (headers and blockquotes)"
"docx/i18n_blocks.docx"
"docx/i18n_blocks.native"