git.iko.soy/typeable/pandoc
on master help sign in
[Docx Reader] Update tests

Notice this commit updates lists.docx. The old test file contained references to "ListParagraph" style, which should never leak outside of pandoc, so I'm not sure what that was supposed to test for exactly.

commit5c5d1a65d95fcdde0769935a4776e67c336f113a authorNikolay Yakimov <root@livid.pp.ru> dateSat 14 Sep 2019, 19:45 (7 years ago) parent14b0051
6 files changed+7−7
test/docx/0_level_headers.native+2−2 test/docx/adjacent_codeblocks.docx test/docx/custom-style-with-styles.native+3−3 test/docx/lists.docx test/docx/lists.native+1−1 test/docx/nested_anchors_in_header.native+1−1
test/docx/0_level_headers.native+2−2
@@ -15,10 +15,10 @@
1515,Para [Str "FIGURES",Space,Str "iv"]
1616,Para [Str "TABLES",Space,Str "v"]
1717,Para [Str "SECTION",Space,Str "1",Space,Str "Introduction",Space,Str "2"]
18−,Header 1 ("figures",["Heading0"],[]) [Str "FIGURES"]
18+,Header 1 ("figures",["Heading-0"],[]) [Str "FIGURES"]
1919,Para [Strong [Str "Figure",Space,Str "Page"]]
2020,Para [Strong [Str "No",Space,Str "table",Space,Str "of",Space,Str "figures",Space,Str "entries",Space,Str "found."]]
21−,Header 1 ("tables",["Heading0"],[]) [Str "TABLES"]
21+,Header 1 ("tables",["Heading-0"],[]) [Str "TABLES"]
2222,Para [Strong [Str "Table",Space,Str "Page"]]
2323,Para [Strong [Str "No",Space,Str "table",Space,Str "of",Space,Str "figures",Space,Str "entries",Space,Str "found."]]
2424,Header 1 ("introduction",[],[]) [Str "Introduction"]
test/docx/adjacent_codeblocks.docx

Binary file not shown.

test/docx/custom-style-with-styles.native+3−3
@@ -1,7 +1,7 @@
1−[Div ("",[],[("custom-style","FirstParagraph")])
1+[Div ("",[],[("custom-style","First Paragraph")])
22 [Para [Str "This",Space,Str "is",Space,Str "some",Space,Str "text."]]
3−,Div ("",[],[("custom-style","BodyText")])
3+,Div ("",[],[("custom-style","Body Text")])
44 [Para [Str "This",Space,Str "is",Space,Str "text",Space,Str "with",Space,Str "an",Space,Span ("",[],[("custom-style","Emphatic")]) [Str "emphasized"],Space,Str "text",Space,Str "style.",Space,Str "And",Space,Str "this",Space,Str "is",Space,Str "text",Space,Str "with",Space,Str "a",Space,Span ("",[],[("custom-style","Strengthened")]) [Str "strengthened"],Space,Str "text",Space,Str "style."]]
5−,Div ("",[],[("custom-style","MyBlockStyle")])
5+,Div ("",[],[("custom-style","My Block Style")])
66 [BlockQuote
77 [Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "styled",Space,Str "paragraph",Space,Str "that",Space,Str "inherits",Space,Str "from",Space,Str "Block",Space,Str "Text."]]]]
test/docx/lists.docx

Binary file not shown.

test/docx/lists.native+1−1
@@ -15,4 +15,4 @@
1515 ,Para [Str "Sub",Space,Str "paragraph"]]]]]]
1616 ,[Para [Str "Same",Space,Str "list"]]]
1717,BulletList
18− [[Para [Str "Different",Space,Str "list",Space,Str "adjacent",Space,Str "to",Space,Str "the",Space,Str "one",Space,Str "above."]]]]
18+ [[Plain [Str "Different",Space,Str "list",Space,Str "adjacent",Space,Str "to",Space,Str "the",Space,Str "one",Space,Str "above."]]]]
test/docx/nested_anchors_in_header.native+1−1
@@ -1,4 +1,4 @@
1−[Header 1 ("\1086\1075\1083\1072\1074\1083\1077\1085\1080\1077",["TOCHeading"],[]) [Str "\1054\1075\1083\1072\1074\1083\1077\1085\1080\1077"]
1+[Header 1 ("\1086\1075\1083\1072\1074\1083\1077\1085\1080\1077",["TOC-Heading"],[]) [Str "\1054\1075\1083\1072\1074\1083\1077\1085\1080\1077"]
22,Para [Link ("",[],[]) [Str "Short",Space,Str "instructions",Space,Str "1"] ("#short-instructions","")]
33,Para [Link ("",[],[]) [Str "Some",Space,Str "instructions",Space,Str "1"] ("#some-instructions","")]
44,Para [Link ("",[],[]) [Str "Remote",Space,Str "folder",Space,Str "or",Space,Str "longlonglonglonglong",Space,Str "file",Space,Str "with",Space,Str "manymanymanymany",Space,Str "letters",Space,Str "inside",Space,Str "opening",Space,Str "2"] ("#remote-folder-or-longlonglonglonglong-file-with-manymanymanymany-letters-inside-opening","")]