Add tests for consecutive conflicting variation selectors

This commit is contained in:
Kovid Goyal 2024-12-05 19:21:00 +05:30
parent a4d2d933c9
commit 33207a57ba
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -687,6 +687,10 @@ def t(*a):
# narrow + VS15
t('\u25b6', 1, '\ufe0e', 1)
t('\u25b6\ufe0e', 1)
# narrow + VS16 + VS15
t('\u25b6', 1, '\ufe0f', 2, '\ufe0e', 2)
# wide + VS15 + VS16
t('\U0001f610', 2, '\ufe0e', 1, '\ufe0f', 1)
def test_writing_with_cursor_on_trailer_of_wide_character(self):
s = self.create_screen()