git.iko.soy/typeable/pandoc
on master help sign in
Add and update docx tests in pandoc.cabal.
commit54708da371e767cd42598ea8f7fbd7d45c57421b authorJesse Rosenthal <jrosenthal@jhu.edu> dateTue 29 Jul 2014, 09:26 (12 years ago) parent840108a
6 files changed+12−6
pandoc.cabal+12 tests/Tests/Readers/Docx.hs−4 tests/docx.metadata.docx tests/docx.metadata_after_normal.docx tests/docx.metadata_author_linebreak.docx tests/docx.metadata_author_linebreak.native−2
pandoc.cabal+12
@@ -172,13 +172,25 @@ Extra-Source-Files:
172172 tests/fb2.test.jpg,
173173 tests/docx.already_auto_ident.docx,
174174 tests/docx.block_quotes.docx,
175+ tests/docx.codeblock.docx,
176+ tests/docx.deep_normalize.docx,
177+ tests/docx.definition_list.docx,
178+ tests/docx.hanging_indent.docx,
175179 tests/docx.headers.docx,
176180 tests/docx.image.docx,
181+ tests/docx.inline_code.docx,
177182 tests/docx.inline_formatting.docx,
178183 tests/docx.links.docx,
179184 tests/docx.lists.docx,
185+ tests/docx.metadata.docx,
186+ tests/docx.metadata_after_normal.docx,
187+ tests/docx.normalize.docx,
180188 tests/docx.notes.docx,
181189 tests/docx.tables.docx,
190+ tests/docx.tabs.docx,
191+ tests/docx.track_changes_deletion.docx,
192+ tests/docx.track_changes_insertion.docx,
193+ tests/docx.trailing_spaces_in_formatting.docx,
182194 tests/docx.unicode.docx,
183195 tests/*.native,
184196 tests/txt2tags.t2t
tests/Tests/Readers/Docx.hs−4
@@ -169,10 +169,6 @@ tests = [ testGroup "inlines"
169169 "metadata fields"
170170 "docx.metadata.docx"
171171 "docx.metadata.native"
172− , testCompareWithOpts def{readerStandalone=True}
173− "linebreak between authors"
174− "docx.metadata_author_linebreak.docx"
175− "docx.metadata_author_linebreak.native"
176172 , testCompareWithOpts def{readerStandalone=True}
177173 "stop recording metadata with normal text"
178174 "docx.metadata_after_normal.docx"
tests/docx.metadata.docx

Binary file not shown.

tests/docx.metadata_after_normal.docx

Binary file not shown.

tests/docx.metadata_author_linebreak.docxdeleted

Binary file not shown.

tests/docx.metadata_author_linebreak.nativedeleted−2
@@ -1,2 +0,0 @@
1−Pandoc (Meta {unMeta = fromList [("abstract",MetaInlines [Str "This",Space,Str "is",Space,Str "a",Space,Str "test",Space,Str "of",Space,Str "how",Space,Str "this",Space,Str "all",Space,Str "works.",Space,Str "I\8217ve",Space,Str "skipped",Space,Str "lines",Space,Str "here,",Space,Str "which",Space,Str "pandoc",Space,Str "doesn\8217t",Space,Str "do,",Space,Str "but",Space,Str "which",Space,Str "shouldn\8217t",Space,Str "make",Space,Str "a",Space,Str "difference."]),("author",MetaList [MetaInlines [Str "Mary",Space,Str "Ann",Space,Str "Evans"],MetaInlines [Str "Aurore",Space,Str "Dupin"]]),("date",MetaInlines [Str "July",Space,Str "28,",Space,Str "2014"]),("title",MetaInlines [Str "This",Space,Str "Is",Space,Str "the",Space,Str "Title"])]})
2−[Para [Str "And",Space,Str "now",Space,Str "this",Space,Str "is",Space,Str "normal",Space,Str "text."]]