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