mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 09:18:19 +00:00
eval/decode: Rename brackets in error messages
U+007D is officially RIGHT CURLY BRACKET. U+005D is officially RIGHT SQUARE BRACKET.
This commit is contained in:
@@ -198,9 +198,9 @@ describe('json_decode() function', function()
|
||||
|
||||
it('fails to parse containers which are closed by different brackets',
|
||||
function()
|
||||
eq('Vim(call):E474: Closing dictionary with bracket: ]',
|
||||
eq('Vim(call):E474: Closing dictionary with square bracket: ]',
|
||||
exc_exec('call json_decode("{]")'))
|
||||
eq('Vim(call):E474: Closing list with figure brace: }',
|
||||
eq('Vim(call):E474: Closing list with curly bracket: }',
|
||||
exc_exec('call json_decode("[}")'))
|
||||
end)
|
||||
|
||||
|
Reference in New Issue
Block a user