mirror of
https://github.com/neovim/neovim.git
synced 2026-05-24 05:40:08 +00:00
refactor(test): drop deprecated exc_exec #39242
This commit is contained in:
@@ -6,7 +6,6 @@ local eq = t.eq
|
||||
local command = n.command
|
||||
local api = n.api
|
||||
local eval = n.eval
|
||||
local exc_exec = n.exc_exec
|
||||
local pcall_err = t.pcall_err
|
||||
local fn = n.fn
|
||||
local NIL = vim.NIL
|
||||
@@ -237,7 +236,7 @@ describe('string() function', function()
|
||||
eval('add(l, l)')
|
||||
eq(
|
||||
'Vim(echo):E724: unable to correctly dump variable with self-referencing container',
|
||||
exc_exec('echo string(l)')
|
||||
pcall_err(command, 'echo string(l)')
|
||||
)
|
||||
end)
|
||||
|
||||
@@ -276,7 +275,7 @@ describe('string() function', function()
|
||||
eval('extend(d, {"d": d})')
|
||||
eq(
|
||||
'Vim(echo):E724: unable to correctly dump variable with self-referencing container',
|
||||
exc_exec('echo string(d)')
|
||||
pcall_err(command, 'echo string(d)')
|
||||
)
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user