Docx reader tests: add tests for normalization deep in blocks.
This commit is contained in:
parent
b3df3a3861
commit
ed43513087
3 changed files with 10 additions and 0 deletions
|
@ -78,6 +78,10 @@ tests = [ testGroup "inlines"
|
|||
"normalizing inlines"
|
||||
"docx.normalize.docx"
|
||||
"docx.normalize.native"
|
||||
, testCompare
|
||||
"normalizing inlines deep inside blocks"
|
||||
"docx.deep_normalize.docx"
|
||||
"docx.deep_normalize.native"
|
||||
]
|
||||
, testGroup "blocks"
|
||||
[ testCompare
|
||||
|
|
BIN
tests/docx.deep_normalize.docx
Normal file
BIN
tests/docx.deep_normalize.docx
Normal file
Binary file not shown.
6
tests/docx.deep_normalize.native
Normal file
6
tests/docx.deep_normalize.native
Normal file
|
@ -0,0 +1,6 @@
|
|||
[OrderedList (1,Decimal,OneParen)
|
||||
[[Para [Str "This",Space,Str "is",Space,Str "at",Space,Str "the",Space,Str "first",Space,Str "level"]
|
||||
,OrderedList (1,LowerAlpha,DefaultDelim)
|
||||
[[Para [Str "This",Space,Str "is",Space,Str "at",Space,Str "the",Space,Str "second",Space,Str "level"]
|
||||
,OrderedList (1,LowerRoman,DefaultDelim)
|
||||
[[Para [Str "This",Space,Str "is",Space,Emph [Str "at",Space,Strong [Str "the",Space,Str "third",Space,Str "level"],Str ",",Space,Str "and",Space,Str "I",Space,Str "want",Space,Str "to"],Space,Str "test",Space,Str "normalization",Space,Str "here."]]]]]]]]
|
Loading…
Add table
Reference in a new issue