Docx reader: add tests for trimming last inline.
This commit is contained in:
parent
beda70b923
commit
9a1a3fe482
3 changed files with 6 additions and 0 deletions
|
@ -185,6 +185,10 @@ tests = [ testGroup "document"
|
|||
"move trailing spaces outside of formatting"
|
||||
"docx/trailing_spaces_in_formatting.docx"
|
||||
"docx/trailing_spaces_in_formatting.native"
|
||||
, testCompare
|
||||
"remove trailing spaces from last inline"
|
||||
"docx/trim_last_inline.docx"
|
||||
"docx/trim_last_inline.native"
|
||||
, testCompare
|
||||
"inline code (with VerbatimChar style)"
|
||||
"docx/inline_code.docx"
|
||||
|
|
BIN
test/docx/trim_last_inline.docx
Normal file
BIN
test/docx/trim_last_inline.docx
Normal file
Binary file not shown.
2
test/docx/trim_last_inline.native
Normal file
2
test/docx/trim_last_inline.native
Normal file
|
@ -0,0 +1,2 @@
|
|||
[Para [Strong [Str "Foo",Space,Str "bar."]]
|
||||
,Para [Str "Fizz",Space,Str "pop."]]
|
Loading…
Add table
Reference in a new issue