aboutsummaryrefslogtreecommitdiff
path: root/tests/conversion_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conversion_tests.py')
-rw-r--r--tests/conversion_tests.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/conversion_tests.py b/tests/conversion_tests.py
index c4dc719..7dc8b06 100644
--- a/tests/conversion_tests.py
+++ b/tests/conversion_tests.py
@@ -107,7 +107,13 @@ def docx_hyperlink_is_converted_to_anchor_tag():
documents.hyperlink(href="http://example.com", children=[documents.Text("Hello")]),
)
assert_equal('<a href="http://example.com">Hello</a>', result.value)
-
+
+
+@istest
+def docx_tab_is_converted_to_tab_in_html():
+ result = convert_document_element_to_html(documents.tab())
+ assert_equal('\t', result.value)
+
def _run_with_text(text):
return documents.run(children=[documents.text(text)])