git.iko.soy/typeable/pandoc
on master help sign in
Docx Reader: Add tests for numbered headers.
commit08359c44e48987212867dc24f4db83ee611c8246 authorJesse Rosenthal <jrosenthal@jhu.edu> dateThu 4 Sep 2014, 19:39 (12 years ago) parentac8ed1f
3 files changed+5
tests/Tests/Readers/Docx.hs+4 tests/docx/numbered_header.docx tests/docx/numbered_header.native+1
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."]]