mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 13:45:15 -07:00
12 lines
308 B
Lua
12 lines
308 B
Lua
local helpers = require('test.functional.helpers')(after_each)
|
|
local clear, eq, command, fn = helpers.clear, helpers.eq, helpers.command, helpers.fn
|
|
|
|
describe(':z^', function()
|
|
before_each(clear)
|
|
|
|
it('correctly sets the cursor after :z^', function()
|
|
command('z^')
|
|
eq(1, fn.line('.'))
|
|
end)
|
|
end)
|