diff --git a/tests/test_html_text.py b/tests/test_html_text.py index 47384b0..0f1562f 100644 --- a/tests/test_html_text.py +++ b/tests/test_html_text.py @@ -49,6 +49,10 @@ def test_empty(all_options): assert extract_text(None, **all_options) == '' +def test_comment(all_options): + assert extract_text(u"", **all_options) == '' + + def test_extract_text_from_tree(all_options): html = (u'' '

Hello, world!')