mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
docs: misc (#30177)
Co-authored-by: Christian Clason <c.clason@uni-graz.at> Co-authored-by: Riley Bruins <ribru17@hotmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
@@ -350,7 +350,7 @@ describe('mbyte', function()
|
||||
|
||||
describe('utf_fold', function()
|
||||
itp('does not crash with surrogates #30527', function()
|
||||
eq(0xDDFB, lib.utf_fold(0xDDFB))
|
||||
eq(0xddfb, lib.utf_fold(0xddfb)) -- low surrogate, invalid as a character
|
||||
eq(0xd800, lib.utf_fold(0xd800)) -- high surrogate, invalid as a character
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user