diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-08-20 01:21:27 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-08-27 21:19:10 +0200 |
commit | 5a2894d67753b408ada3b89c1b7fbd9152977203 (patch) | |
tree | 44b3c5f1ee0b88979143045a7f390d9f3549b3c7 /test/functional/ui/input_spec.lua | |
parent | e1177be363f84f5f4f34c21b760bc47f70d5fa48 (diff) | |
download | rneovim-5a2894d67753b408ada3b89c1b7fbd9152977203.tar.gz rneovim-5a2894d67753b408ada3b89c1b7fbd9152977203.tar.bz2 rneovim-5a2894d67753b408ada3b89c1b7fbd9152977203.zip |
paste: use nvim_put()
Diffstat (limited to 'test/functional/ui/input_spec.lua')
-rw-r--r-- | test/functional/ui/input_spec.lua | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/test/functional/ui/input_spec.lua b/test/functional/ui/input_spec.lua index 7b5c6aa29d..12d0e4f40b 100644 --- a/test/functional/ui/input_spec.lua +++ b/test/functional/ui/input_spec.lua @@ -110,77 +110,6 @@ describe('mappings', function() end) end) -describe('feeding large chunks of input with <Paste>', function() - local screen - before_each(function() - clear() - screen = Screen.new() - screen:attach() - feed_command('set ruler') - end) - - it('ok', function() - if helpers.skip_fragile(pending) then - return - end - local t = {} - for i = 1, 20000 do - t[i] = 'item ' .. tostring(i) - end - command('doautocmd PastePre') - screen:expect([[ - ^ | - ~ | - ~ | - ~ | - ~ | - ~ | - ~ | - ~ | - ~ | - ~ | - ~ | - ~ | - ~ | - -- INSERT (paste) -- | - ]]) - feed(table.concat(t, '<Enter>')) - screen:expect([[ - item 19988 | - item 19989 | - item 19990 | - item 19991 | - item 19992 | - item 19993 | - item 19994 | - item 19995 | - item 19996 | - item 19997 | - item 19998 | - item 19999 | - item 20000^ | - -- INSERT (paste) -- | - ]]) - command('doautocmd PastePost') - screen:expect([[ - item 19988 | - item 19989 | - item 19990 | - item 19991 | - item 19992 | - item 19993 | - item 19994 | - item 19995 | - item 19996 | - item 19997 | - item 19998 | - item 19999 | - item 2000^0 | - 20000,10 Bot | - ]]) - end) -end) - describe('input utf sequences that contain CSI/K_SPECIAL', function() before_each(clear) it('ok', function() |