summaryrefslogtreecommitdiffstatshomepage
path: root/test/functional/api
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-04-20 14:16:41 -0400
committerGitHub <noreply@github.com>2026-04-20 14:16:41 -0400
commit4ceca862fceb021049144a9aed05c60ae39b7aba (patch)
treeb7b1f1e421aeeaa2d30a348745c17f9f9b69b8d7 /test/functional/api
parentfaa7c15b5a711435ed9d90f7fbf2a2ff8f1255c7 (diff)
refactor(test): drop deprecated exc_exec #39242
Diffstat (limited to 'test/functional/api')
-rw-r--r--test/functional/api/vim_spec.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/api/vim_spec.lua b/test/functional/api/vim_spec.lua
index ecb14ff096..fc91a655e0 100644
--- a/test/functional/api/vim_spec.lua
+++ b/test/functional/api/vim_spec.lua
@@ -29,7 +29,6 @@ local next_msg = n.next_msg
local tmpname = t.tmpname
local write_file = t.write_file
local exec_lua = n.exec_lua
-local exc_exec = n.exc_exec
local insert = n.insert
local skip = t.skip
@@ -3655,7 +3654,7 @@ describe('API', function()
eq(
'Vim(echo):E5555: API call: Vim:E220: Missing }.',
- exc_exec("echo nvim_get_runtime_file('{', v:false)")
+ pcall_err(command, "echo nvim_get_runtime_file('{', v:false)")
)
end)
it('preserves order of runtimepath', function()