diff options
author | Gregory Anders <greg@gpanders.com> | 2022-04-10 19:12:41 -0600 |
---|---|---|
committer | Gregory Anders <greg@gpanders.com> | 2022-04-10 20:18:41 -0600 |
commit | f94f75dc0512def7fbfdfe100eea2dab3352d61f (patch) | |
tree | 5550a6ad3da7f2585a215da7a1e9a85a99074e3c /test/functional/ex_cmds | |
parent | b2cb05b53e61d162044f71227e0ffeacbf59a4bb (diff) | |
download | rneovim-f94f75dc0512def7fbfdfe100eea2dab3352d61f.tar.gz rneovim-f94f75dc0512def7fbfdfe100eea2dab3352d61f.tar.bz2 rneovim-f94f75dc0512def7fbfdfe100eea2dab3352d61f.zip |
refactor!: rename nvim_add_user_command to nvim_create_user_command
Diffstat (limited to 'test/functional/ex_cmds')
-rw-r--r-- | test/functional/ex_cmds/verbose_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/ex_cmds/verbose_spec.lua b/test/functional/ex_cmds/verbose_spec.lua index 326104dc3c..e6f67ef18e 100644 --- a/test/functional/ex_cmds/verbose_spec.lua +++ b/test/functional/ex_cmds/verbose_spec.lua @@ -31,7 +31,7 @@ vim.api.nvim_exec("augroup test_group\ ", false) vim.api.nvim_command("command Bdelete :bd") -vim.api.nvim_add_user_command("TestCommand", ":echo 'Hello'", {}) +vim.api.nvim_create_user_command("TestCommand", ":echo 'Hello'", {}) vim.api.nvim_exec ("\ function Close_Window() abort\ @@ -114,7 +114,7 @@ test_group FileType script_location), result) end) - it('"Last set" for command defined by nvim_add_user_command', function() + it('"Last set" for command defined by nvim_create_user_command', function() local result = exec_capture(':verbose command TestCommand') eq(string.format([[ Name Args Address Complete Definition |