neovim/test/functional/ex_cmds/print_commands_spec.lua

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
317 B
Lua
Raw Normal View History

local helpers = require('test.functional.helpers')(after_each)
2024-01-02 18:09:18 -07:00
local clear, eq, command, funcs = helpers.clear, helpers.eq, helpers.command, helpers.funcs
describe(':z^', function()
before_each(clear)
it('correctly sets the cursor after :z^', function()
command('z^')
eq(1, funcs.line('.'))
end)
end)