Docx Reader: Add tests for numbered headers.
commit08359c44e48987212867dc24f4db83ee611c8246
authorJesse Rosenthal <jrosenthal@jhu.edu>
dateThu 4 Sep 2014, 19:39 (12 years ago)
parentac8ed1f
tests/Tests/Readers/Docx.hs+4
@@ -152,6 +152,10 @@ tests = [ testGroup "inlines"
152152 "headers already having auto identifiers"
153153 "docx/already_auto_ident.docx"
154154 "docx/already_auto_ident.native"
155+ , testCompare
156+ "numbered headers automatically made into list"
157+ "docx/numbered_header.docx"
158+ "docx/numbered_header.native"
155159 , testCompare
156160 "lists"
157161 "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."]]