mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
12 lines
269 B
Lua
12 lines
269 B
Lua
local t = require('test.functional.testutil')()
|
|
local clear, eq, command, fn = t.clear, t.eq, t.command, t.fn
|
|
|
|
describe(':z^', function()
|
|
before_each(clear)
|
|
|
|
it('correctly sets the cursor after :z^', function()
|
|
command('z^')
|
|
eq(1, fn.line('.'))
|
|
end)
|
|
end)
|