mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
fix zero-ing of last n bytes
This commit is contained in:
parent
daa169b8ed
commit
b28fbf6817
2 changed files with 26 additions and 21 deletions
|
|
@ -189,6 +189,7 @@ class TestParser(BaseTest):
|
|||
self.ae(expected, actual, msg=f'Failed for {x!r} with {which=}\n{expected!r} !=\n{actual!r}')
|
||||
for which in (2, 3):
|
||||
x = partial(t, which=which)
|
||||
x('2:α3')
|
||||
x('2:α3:≤4:😸|')
|
||||
x('abcd1234efgh5678')
|
||||
x('abc\x1bd1234efgh5678')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue