From 21f0f7bca5a13fe847478ef27dc26bced9b3f3d1 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Tue, 18 Jun 2019 00:00:51 +0200 Subject: paste: WIP #4448 --- test/functional/ui/input_spec.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/functional/ui/input_spec.lua') 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 ', function() for i = 1, 20000 do t[i] = 'item ' .. tostring(i) end - feed('i') + command('doautocmd PastePre') screen:expect([[ ^ | ~ | @@ -161,7 +161,7 @@ describe('feeding large chunks of input with ', function() item 20000^ | -- INSERT (paste) -- | ]]) - feed('') + command('doautocmd PastePost') screen:expect([[ item 19988 | item 19989 | @@ -175,8 +175,8 @@ describe('feeding large chunks of input with ', function() item 19997 | item 19998 | item 19999 | - item 20000^ | - -- INSERT -- 20000,11 Bot | + item 2000^0 | + 20000,10 Bot | ]]) end) end) -- cgit