mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 04:58:33 +00:00
25 lines
477 B
Lua
25 lines
477 B
Lua
-- Tests for repeating insert and replace.
|
|
|
|
local t = require('test.functional.testutil')()
|
|
local clear, feed, insert = t.clear, t.feed, t.insert
|
|
local feed_command, expect = t.feed_command, t.expect
|
|
|
|
describe('insertcount', function()
|
|
setup(clear)
|
|
|
|
it('is working', function()
|
|
insert([[
|
|
First line
|
|
Second line
|
|
Last line]])
|
|
|
|
feed_command('/Second')
|
|
feed('4gro')
|
|
|
|
expect([[
|
|
First line
|
|
oooond line
|
|
Last line]])
|
|
end)
|
|
end)
|