Test for ignoring unicode invisible punctuation when searching

This commit is contained in:
Kovid Goyal 2022-04-23 13:09:14 +05:30
parent aad20ae447
commit ef41db8cc7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -116,6 +116,7 @@ class TestICU(unittest.TestCase):
self.ae(x.get_attribute(icu._icu.UCOL_STRENGTH), icu._icu.UCOL_PRIMARY),
self.ae((0, 4), icu.primary_no_punc_find('pena"', 'peña'))
self.ae((0, 13), icu.primary_no_punc_find("typographers", 'typographers'))
self.ae((0, 7), icu.primary_no_punc_find('abcd', 'a\u00adb\u200cc\u200dd'))
def test_collation_order(self):
'Testing collation ordering'