mirror of
https://github.com/neovim/neovim.git
synced 2026-04-30 11:14:10 +00:00
fix(mbyte): check for utf8proc_map() failure (#30531)
This commit is contained in:
@@ -347,4 +347,10 @@ describe('mbyte', function()
|
||||
check('L̓̉̑̒̌̚ơ̗̌̒̄̀ŕ̈̈̎̐̕è̇̅̄̄̐m̖̟̟̅̄̚', {'L̓̉̑̒̌̚', 'ơ̗̌̒̄̀', 'ŕ̈̈̎̐̕', 'è̇̅̄̄̐', 'm̖̟̟̅̄̚'})
|
||||
-- stylua: ignore end
|
||||
end)
|
||||
|
||||
describe('utf_fold', function()
|
||||
itp('does not crash with surrogates #30527', function()
|
||||
eq(0xDDFB, lib.utf_fold(0xDDFB))
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user