mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
Fix tui_spec.lua for QB/Travis
This was not a problem locally, but would often/sometimes/etc. (YMMV) fail on QB and/or travis. This seems to fix it. Quoting @justinmk: "I have a feeling this is just a bug in the bracketed paste special-cases in the existing code".
This commit is contained in:
@@ -154,9 +154,7 @@ describe('tui', function()
|
|||||||
for i = 1, 3000 do
|
for i = 1, 3000 do
|
||||||
t[i] = 'item ' .. tostring(i)
|
t[i] = 'item ' .. tostring(i)
|
||||||
end
|
end
|
||||||
feed('i\027[200~')
|
feed('i\027[200~'..table.concat(t, '\n')..'\027[201~')
|
||||||
feed(table.concat(t, '\n'))
|
|
||||||
feed('\027[201~')
|
|
||||||
screen:expect([[
|
screen:expect([[
|
||||||
item 2997 |
|
item 2997 |
|
||||||
item 2998 |
|
item 2998 |
|
||||||
|
Reference in New Issue
Block a user