diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/test_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py index 2ad4593a1..6398e63f0 100644 --- a/tests/unit/test_utils.py +++ b/tests/unit/test_utils.py @@ -41,6 +41,7 @@ class TestUtils(SearxTestCase): self.assertIsInstance(utils.html_to_text(html_str), str) self.assertIsNotNone(utils.html_to_text(html_str)) self.assertEqual(utils.html_to_text(html_str), "Test text") + self.assertEqual(utils.html_to_text(r"regexp: (?<![a-zA-Z]"), "regexp: (?<![a-zA-Z]") def test_extract_text(self): html_str = """ |