mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
12
test/functional/ex_cmds/print_commands_spec.lua
Normal file
12
test/functional/ex_cmds/print_commands_spec.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
local helpers = require('test.functional.helpers')(after_each)
|
||||
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)
|
||||
Reference in New Issue
Block a user