aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds/print_commands_spec.lua
blob: bcb3c437ede406aaa177e218fd5bc4bc44de74d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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)