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:
@@ -4,7 +4,6 @@ local n = require('test.functional.testnvim')()
|
||||
local eq = t.eq
|
||||
local clear = n.clear
|
||||
local command = n.command
|
||||
local exc_exec = n.exc_exec
|
||||
local pcall_err = t.pcall_err
|
||||
|
||||
setup(clear)
|
||||
@@ -13,7 +12,7 @@ describe('uniq()', function()
|
||||
it('errors out when processing special values', function()
|
||||
eq(
|
||||
'Vim(call):E362: Using a boolean value as a Float',
|
||||
exc_exec('call uniq([v:true, v:false], "f")')
|
||||
pcall_err(command, 'call uniq([v:true, v:false], "f")')
|
||||
)
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user