mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 20:18:32 +00:00
Merge pull request #15516 from bfredl/keyset
refactor(api): Represent option dicts as a structs in C and reduce conversion overhead from lua
This commit is contained in:
@@ -1119,7 +1119,7 @@ describe('API', function()
|
||||
|
||||
describe('nvim_get_context', function()
|
||||
it('validates args', function()
|
||||
eq('unexpected key: blah',
|
||||
eq("Invalid key: 'blah'",
|
||||
pcall_err(nvim, 'get_context', {blah={}}))
|
||||
eq('invalid value for key: types',
|
||||
pcall_err(nvim, 'get_context', {types=42}))
|
||||
|
Reference in New Issue
Block a user