From 4ceca862fceb021049144a9aed05c60ae39b7aba Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 20 Apr 2026 14:16:41 -0400 Subject: refactor(test): drop deprecated exc_exec #39242 --- test/functional/vimscript/setpos_spec.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/functional/vimscript/setpos_spec.lua') diff --git a/test/functional/vimscript/setpos_spec.lua b/test/functional/vimscript/setpos_spec.lua index 968da4d8f4..9975e7f764 100644 --- a/test/functional/vimscript/setpos_spec.lua +++ b/test/functional/vimscript/setpos_spec.lua @@ -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 }) -- cgit