mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 02:08:17 +00:00
eval/decode: Make sure that U+00C3 is parsed correctly
This commit is contained in:
@@ -447,6 +447,10 @@ describe('json_decode() function', function()
|
||||
eq('\xAB', funcs.json_decode('"\\u00AB"'))
|
||||
sp_decode_eq({_TYPE='string', _VAL={'\n\xAB\n'}}, '"\\u0000\\u00AB\\u0000"')
|
||||
end)
|
||||
|
||||
it('parses U+00C3 correctly', function()
|
||||
eq('\xC3\x83', funcs.json_decode('"\xC3\x83"'))
|
||||
end)
|
||||
end)
|
||||
|
||||
describe('json_encode() function', function()
|
||||
|
Reference in New Issue
Block a user