git.iko.soy/typeable/pandoc
on master help sign in
Docx reader: Add test for enumerated headers.
7f4a404Jesse Rosenthal
tests/Tests/Readers/Docx.hs+5−1
@@ -169,9 +169,13 @@ tests = [ testGroup "inlines"
169 "docx/already_auto_ident.docx"
169 "docx/already_auto_ident.docx"
170 "docx/already_auto_ident.native"
170 "docx/already_auto_ident.native"
171 , testCompare
171 , testCompare
172− "numbered headers automatically made into list"
172+ "single numbered item not made into list"
173 "docx/numbered_header.docx"
173 "docx/numbered_header.docx"
174 "docx/numbered_header.native"
174 "docx/numbered_header.native"
175+ , testCompare
176+ "enumerated headers not made into numbered list"
177+ "docx/enumerated_headings.docx"
178+ "docx/enumerated_headings.native"
175 , testCompare
179 , testCompare
176 "i18n blocks (headers and blockquotes)"
180 "i18n blocks (headers and blockquotes)"
177 "docx/i18n_blocks.docx"
181 "docx/i18n_blocks.docx"
tests/docx/enumerated_headings.docxnew file

Binary file not shown.

tests/docx/enumerated_headings.nativenew file+4
@@ -0,0 +1,4 @@
1+[Header 1 ("h1",[],[]) [Str "H1"]
2+,Header 2 ("h2",[],[]) [Str "H2"]
3+,Header 3 ("h3",[],[]) [Str "H3"]
4+,Para [Str "And",Space,Str "some",Space,Str "text"]]