neovim/test/functional/legacy/insertcount_spec.lua

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
522 B
Lua
Raw Normal View History

2014-10-22 15:42:59 -07:00
-- Tests for repeating insert and replace.
local helpers = require('test.functional.helpers')(after_each)
2014-10-22 15:42:59 -07:00
local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
local feed_command, expect = helpers.feed_command, helpers.expect
2014-10-22 15:42:59 -07:00
describe('insertcount', function()
setup(clear)
it('is working', function()
insert([[
First line
Second line
Last line]])
feed_command('/Second')
2014-10-22 15:42:59 -07:00
feed('4gro')
expect([[
First line
oooond line
Last line]])
end)
end)