aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/command_spec.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-10-03 14:31:53 +0200
committerGitHub <noreply@github.com>2021-10-03 14:31:53 +0200
commit3beea1fe1bca5b0cf3f724ab0d06a01a04652297 (patch)
treed4049608bcde6e4ff18bcc9aa300832063a1930d /test/functional/api/command_spec.lua
parent9fe704f88e455f886c8854604b2869c72b28e510 (diff)
parent32565922efe0d1a6e8e4dddb23295d1a08670b54 (diff)
downloadrneovim-3beea1fe1bca5b0cf3f724ab0d06a01a04652297.tar.gz
rneovim-3beea1fe1bca5b0cf3f724ab0d06a01a04652297.tar.bz2
rneovim-3beea1fe1bca5b0cf3f724ab0d06a01a04652297.zip
Merge pull request #15516 from bfredl/keyset
refactor(api): Represent option dicts as a structs in C and reduce conversion overhead from lua
Diffstat (limited to 'test/functional/api/command_spec.lua')
-rw-r--r--test/functional/api/command_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/api/command_spec.lua b/test/functional/api/command_spec.lua
index 37331d11c7..6f929ad1ca 100644
--- a/test/functional/api/command_spec.lua
+++ b/test/functional/api/command_spec.lua
@@ -21,7 +21,7 @@ describe('nvim_get_commands', function()
it('validates input', function()
eq('builtin=true not implemented', pcall_err(meths.get_commands,
{builtin=true}))
- eq('unexpected key: foo', pcall_err(meths.get_commands,
+ eq("Invalid key: 'foo'", pcall_err(meths.get_commands,
{foo='blah'}))
end)