git.iko.soy/typeable/pandoc
on master help sign in
Docx Reader: Add tests for numbered headers.
08359c4Jesse Rosenthal
tests/Tests/Readers/Docx.hs+4
@@ -152,6 +152,10 @@ tests = [ testGroup "inlines"
152 "headers already having auto identifiers"
152 "headers already having auto identifiers"
153 "docx/already_auto_ident.docx"
153 "docx/already_auto_ident.docx"
154 "docx/already_auto_ident.native"
154 "docx/already_auto_ident.native"
155+ , testCompare
156+ "numbered headers automatically made into list"
157+ "docx/numbered_header.docx"
158+ "docx/numbered_header.native"
155 , testCompare
159 , testCompare
156 "lists"
160 "lists"
157 "docx/lists.docx"
161 "docx/lists.docx"
tests/docx/numbered_header.docxnew file

Binary file not shown.

tests/docx/numbered_header.nativenew file+1
@@ -0,0 +1 @@
1+[Header 1 ("a-numbered-header.",[],[]) [Str "A",Space,Str "Numbered",Space,Str "Header."]]