diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Tests/Readers/Docx.hs | 4 | ||||
-rw-r--r-- | tests/docx/table_one_row.docx | bin | 0 -> 25251 bytes | |||
-rw-r--r-- | tests/docx/table_one_row.native | 5 |
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Docx.hs b/tests/Tests/Readers/Docx.hs index 2fe98b8ac..0d31eb629 100644 --- a/tests/Tests/Readers/Docx.hs +++ b/tests/Tests/Readers/Docx.hs @@ -242,6 +242,10 @@ tests = [ testGroup "inlines" "docx/table_with_list_cell.docx" "docx/table_with_list_cell.native" , testCompare + "tables with one row" + "docx/table_one_row.docx" + "docx/table_one_row.native" + , testCompare "code block" "docx/codeblock.docx" "docx/codeblock.native" diff --git a/tests/docx/table_one_row.docx b/tests/docx/table_one_row.docx Binary files differnew file mode 100644 index 000000000..f7e0ebe43 --- /dev/null +++ b/tests/docx/table_one_row.docx diff --git a/tests/docx/table_one_row.native b/tests/docx/table_one_row.native new file mode 100644 index 000000000..bd1bf8145 --- /dev/null +++ b/tests/docx/table_one_row.native @@ -0,0 +1,5 @@ +[Table [] [AlignDefault,AlignDefault,AlignDefault] [0.0,0.0,0.0] + [] + [[[Plain [Str "One"]] + ,[Plain [Str "Row"]] + ,[Plain [Str "Table"]]]]] |