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:
KillTheMule 2016-05-14 21:41:00 +02:00
parent d02cfe8061
commit a1f9760a59

View File

@ -154,9 +154,7 @@ describe('tui', function()
for i = 1, 3000 do
t[i] = 'item ' .. tostring(i)
end
feed('i\027[200~')
feed(table.concat(t, '\n'))
feed('\027[201~')
feed('i\027[200~'..table.concat(t, '\n')..'\027[201~')
screen:expect([[
item 2997 |
item 2998 |