refactor(test): drop deprecated exc_exec #39242

This commit is contained in:
Justin M. Keyes
2026-04-20 14:16:41 -04:00
committed by GitHub
parent faa7c15b5a
commit 4ceca862fc
77 changed files with 1009 additions and 799 deletions

View File

@@ -8,7 +8,6 @@ local clear = n.clear
local command = n.command
local eval = n.eval
local eq = t.eq
local exc_exec = n.exc_exec
describe('setpos() function', function()
before_each(function()
@@ -28,8 +27,7 @@ describe('setpos() function', function()
eq({ 0, 2, 1, 0 }, getpos('.'))
setpos('.', { 2, 1, 1, 0 })
eq({ 0, 1, 1, 0 }, getpos('.'))
local ret = exc_exec('call setpos(".", [1, 1, 1, 0])')
eq(0, ret)
command('call setpos(".", [1, 1, 1, 0])')
end)
it('can set lowercase marks in the current buffer', function()
setpos("'d", { 0, 2, 1, 0 })