git.iko.soy/typeable/pandoc
on master help sign in
Add and update docx tests in pandoc.cabal.
54708daJesse Rosenthal
pandoc.cabal+12
@@ -172,13 +172,25 @@ Extra-Source-Files:
172 tests/fb2.test.jpg,
172 tests/fb2.test.jpg,
173 tests/docx.already_auto_ident.docx,
173 tests/docx.already_auto_ident.docx,
174 tests/docx.block_quotes.docx,
174 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,
175 tests/docx.headers.docx,
179 tests/docx.headers.docx,
176 tests/docx.image.docx,
180 tests/docx.image.docx,
181+ tests/docx.inline_code.docx,
177 tests/docx.inline_formatting.docx,
182 tests/docx.inline_formatting.docx,
178 tests/docx.links.docx,
183 tests/docx.links.docx,
179 tests/docx.lists.docx,
184 tests/docx.lists.docx,
185+ tests/docx.metadata.docx,
186+ tests/docx.metadata_after_normal.docx,
187+ tests/docx.normalize.docx,
180 tests/docx.notes.docx,
188 tests/docx.notes.docx,
181 tests/docx.tables.docx,
189 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,
182 tests/docx.unicode.docx,
194 tests/docx.unicode.docx,
183 tests/*.native,
195 tests/*.native,
184 tests/txt2tags.t2t
196 tests/txt2tags.t2t
tests/Tests/Readers/Docx.hs−4
@@ -169,10 +169,6 @@ tests = [ testGroup "inlines"
169 "metadata fields"
169 "metadata fields"
170 "docx.metadata.docx"
170 "docx.metadata.docx"
171 "docx.metadata.native"
171 "docx.metadata.native"
172− , testCompareWithOpts def{readerStandalone=True}
173− "linebreak between authors"
174− "docx.metadata_author_linebreak.docx"
175− "docx.metadata_author_linebreak.native"
176 , testCompareWithOpts def{readerStandalone=True}
172 , testCompareWithOpts def{readerStandalone=True}
177 "stop recording metadata with normal text"
173 "stop recording metadata with normal text"
178 "docx.metadata_after_normal.docx"
174 "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."]]