aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/input_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-06-18 00:00:51 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-08-27 21:19:10 +0200
commit21f0f7bca5a13fe847478ef27dc26bced9b3f3d1 (patch)
tree72f91c7794869206527eaa9497671a79aab1d3d8 /test/functional/ui/input_spec.lua
parenta851090dec8600b38d54cd65264e4146ad02b1e0 (diff)
downloadrneovim-21f0f7bca5a13fe847478ef27dc26bced9b3f3d1.tar.gz
rneovim-21f0f7bca5a13fe847478ef27dc26bced9b3f3d1.tar.bz2
rneovim-21f0f7bca5a13fe847478ef27dc26bced9b3f3d1.zip
paste: WIP #4448
Diffstat (limited to 'test/functional/ui/input_spec.lua')
-rw-r--r--test/functional/ui/input_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/ui/input_spec.lua b/test/functional/ui/input_spec.lua
index 0009f2c31b..7b5c6aa29d 100644
--- a/test/functional/ui/input_spec.lua
+++ b/test/functional/ui/input_spec.lua
@@ -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)