Add one additional ellipsis test to test_utils_string

This commit is contained in:
Mark Backman
2025-02-23 11:04:24 -05:00
parent af45c170b5
commit b5662520aa

View File

@@ -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, ")