Docx reader: add tests for structured document tags unwrapping.

This commit is contained in:
Jesse Rosenthal 2017-12-27 10:01:45 -05:00
parent dc3ee500a0
commit d71165c8e2
3 changed files with 14 additions and 0 deletions

View file

@ -171,6 +171,10 @@ tests = [ testGroup "inlines"
"inline code in subscript and superscript"
"docx/verbatim_subsuper.docx"
"docx/verbatim_subsuper.native"
, testCompare
"inlines inside of Structured Document Tags"
"docx/sdt_elements.docx"
"docx/sdt_elements.native"
]
, testGroup "blocks"
[ testCompare

BIN
test/docx/sdt_elements.docx Normal file

Binary file not shown.

View file

@ -0,0 +1,10 @@
[Table [] [AlignDefault,AlignDefault,AlignDefault] [0.0,0.0,0.0]
[[]
,[]
,[]]
[[[Plain [Strong [Str "col1Header"]]]
,[Plain [Strong [Str "col2Header"]]]
,[Plain [Strong [Str "col3Header"]]]]
,[[Plain [Str "col1",Space,Str "content"]]
,[Plain [Str "Body",Space,Str "copy"]]
,[Plain [Str "col3",Space,Str "content"]]]]]