blob: 98c0f74635e43fbcbf875a9e154d67fb1c716782 (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
10
11
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)
 |