diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-04-20 14:16:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-20 14:16:41 -0400 |
| commit | 4ceca862fceb021049144a9aed05c60ae39b7aba (patch) | |
| tree | b7b1f1e421aeeaa2d30a348745c17f9f9b69b8d7 /test/functional/vimscript/setpos_spec.lua | |
| parent | faa7c15b5a711435ed9d90f7fbf2a2ff8f1255c7 (diff) | |
| download | rneovim-4ceca862fceb021049144a9aed05c60ae39b7aba.tar.gz rneovim-4ceca862fceb021049144a9aed05c60ae39b7aba.tar.bz2 rneovim-4ceca862fceb021049144a9aed05c60ae39b7aba.zip | |
refactor(test): drop deprecated exc_exec #39242
Diffstat (limited to 'test/functional/vimscript/setpos_spec.lua')
| -rw-r--r-- | test/functional/vimscript/setpos_spec.lua | 4 |
1 files changed, 1 insertions, 3 deletions
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 }) |