diff options
Diffstat (limited to 'test/functional/ui/input_spec.lua')
-rw-r--r-- | test/functional/ui/input_spec.lua | 8 |
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) |