mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-14 00:47:02 +00:00
More tests
This commit is contained in:
parent
b3ca5d51fb
commit
616fcfd201
1 changed files with 5 additions and 0 deletions
|
|
@ -243,6 +243,11 @@ class TestParser(BaseTest):
|
|||
pb = partial(test_expected, which=which)
|
||||
pb('ニチ', 'ニチ')
|
||||
pb('\x84\x85', '\x84\x85')
|
||||
pb('\x84\x85', '\x84\x85')
|
||||
pb('\uf4df', '\uf4df')
|
||||
pb('\uffff', '\uffff')
|
||||
pb('\0', '\0')
|
||||
pb(chr(0x10ffff), chr(0x10ffff))
|
||||
# various invalid input
|
||||
pb(b'abcd\xf51234', 'abcd\ufffd1234') # bytes > 0xf4
|
||||
pb(b'abcd\xff1234', 'abcd\ufffd1234') # bytes > 0xf4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue