blob: ba5ec7d2d18a55fcb344feccabf092ad26c6e62b (
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, fn = helpers.clear, helpers.eq, helpers.command, helpers.fn
describe(':z^', function()
before_each(clear)
it('correctly sets the cursor after :z^', function()
command('z^')
eq(1, fn.line('.'))
end)
end)
|