mirror of
https://github.com/neovim/neovim.git
synced 2025-11-16 07:11:20 +00:00
docs: fix typos (#20394)
Co-authored-by: Raphael <glephunter@gmail.com> Co-authored-by: smjonas <jonas.strittmatter@gmx.de> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
@@ -8,7 +8,7 @@ local clear = helpers.clear
|
||||
before_each(clear)
|
||||
|
||||
describe('extend()', function()
|
||||
it('suceeds to extend list with itself', function()
|
||||
it('succeeds to extend list with itself', function()
|
||||
meths.set_var('l', {1, {}})
|
||||
eq({1, {}, 1, {}}, eval('extend(l, l)'))
|
||||
eq({1, {}, 1, {}}, meths.get_var('l'))
|
||||
|
||||
@@ -343,7 +343,7 @@ describe('json_decode() function', function()
|
||||
exc_exec('call json_decode("\\t\\"abc\\\\u0000")'))
|
||||
end)
|
||||
|
||||
it('fails to parse unknown escape sequnces', function()
|
||||
it('fails to parse unknown escape sequences', function()
|
||||
eq('Vim(call):E474: Unknown escape sequence: \\a"',
|
||||
exc_exec('call json_decode("\\t\\"\\\\a\\"")'))
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user