This commit is contained in:
Justin M. Keyes
2019-06-18 00:00:51 +02:00
parent a851090dec
commit 21f0f7bca5
14 changed files with 265 additions and 48 deletions

View File

@@ -127,7 +127,7 @@ describe('feeding large chunks of input with <Paste>', function()
for i = 1, 20000 do
t[i] = 'item ' .. tostring(i)
end
feed('i<Paste>')
command('doautocmd PastePre')
screen:expect([[
^ |
~ |
@@ -161,7 +161,7 @@ describe('feeding large chunks of input with <Paste>', function()
item 20000^ |
-- INSERT (paste) -- |
]])
feed('<Paste>')
command('doautocmd PastePost')
screen:expect([[
item 19988 |
item 19989 |
@@ -175,8 +175,8 @@ describe('feeding large chunks of input with <Paste>', function()
item 19997 |
item 19998 |
item 19999 |
item 20000^ |
-- INSERT -- 20000,11 Bot |
item 2000^0 |
20000,10 Bot |
]])
end)
end)