aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2022-04-10 20:46:02 -0600
committerGitHub <noreply@github.com>2022-04-10 20:46:02 -0600
commitcdfb045ea027e018f14fb2735c3fd6aaa718ae58 (patch)
treebf4c2e4ade24d58711e45743cc4db35ac377d144 /test/functional/ex_cmds
parenta2f157233f274599739941e39673ca4d3b0291c3 (diff)
parent379067d0386083b3f9531062d9f3a83a24bff745 (diff)
downloadrneovim-cdfb045ea027e018f14fb2735c3fd6aaa718ae58.tar.gz
rneovim-cdfb045ea027e018f14fb2735c3fd6aaa718ae58.tar.bz2
rneovim-cdfb045ea027e018f14fb2735c3fd6aaa718ae58.zip
Merge pull request #18071 from gpanders/create_uc
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.lua4
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