diff --git a/tests/test_utils_string.py b/tests/test_utils_string.py index 4b08bd411..e4cdb4cb4 100644 --- a/tests/test_utils_string.py +++ b/tests/test_utils_string.py @@ -17,6 +17,7 @@ class TestUtilsString(unittest.IsolatedAsyncioTestCase): assert match_endofsentence("This is a sentence;") == 19 assert match_endofsentence("This is a sentence...") == 21 assert match_endofsentence("This is a sentence . . .") == 24 + assert match_endofsentence("This is a sentence. ..") == 22 assert not match_endofsentence("This is not a sentence") assert not match_endofsentence("This is not a sentence,") assert not match_endofsentence("This is not a sentence, ")