Docx writer: Add tests for list continuation.
This commit is contained in:
parent
3c7a3d378c
commit
440533643e
5 changed files with 23 additions and 0 deletions
|
@ -205,6 +205,14 @@ tests = [ testGroup "inlines"
|
|||
"lists"
|
||||
"docx/lists.docx"
|
||||
"docx/lists.native"
|
||||
, testCompare
|
||||
"lists continuing after interruption"
|
||||
"docx/lists_continuing.docx"
|
||||
"docx/lists_continuing.native"
|
||||
, testCompare
|
||||
"lists restarting after interruption"
|
||||
"docx/lists_restarting.docx"
|
||||
"docx/lists_restarting.native"
|
||||
, testCompare
|
||||
"definition lists"
|
||||
"docx/definition_list.docx"
|
||||
|
|
BIN
test/docx/lists_continuing.docx
Normal file
BIN
test/docx/lists_continuing.docx
Normal file
Binary file not shown.
7
test/docx/lists_continuing.native
Normal file
7
test/docx/lists_continuing.native
Normal file
|
@ -0,0 +1,7 @@
|
|||
[OrderedList (1,Decimal,Period)
|
||||
[[Para [Str "Foo"]]
|
||||
,[Para [Str "Bar"]]
|
||||
,[Para [Str "Baz"]]]
|
||||
,Para [Str "Interruption."]
|
||||
,OrderedList (4,Decimal,Period)
|
||||
[[Para [Str "Bop"]]]]
|
BIN
test/docx/lists_restarting.docx
Normal file
BIN
test/docx/lists_restarting.docx
Normal file
Binary file not shown.
8
test/docx/lists_restarting.native
Normal file
8
test/docx/lists_restarting.native
Normal file
|
@ -0,0 +1,8 @@
|
|||
[OrderedList (2,Decimal,Period)
|
||||
[[Para [Str "Foo"]]
|
||||
,[Para [Str "Bar"]]
|
||||
,[Para [Str "Baz"]]]
|
||||
,BlockQuote
|
||||
[Para [Str "Interruption"]]
|
||||
,OrderedList (1,Decimal,Period)
|
||||
[[Para [Str "Bop."]]]]
|
Loading…
Reference in a new issue