diff options
author | KillTheMule <KillTheMule@users.noreply.github.com> | 2016-05-14 21:41:00 +0200 |
---|---|---|
committer | KillTheMule <KillTheMule@users.noreply.github.com> | 2016-05-14 21:41:00 +0200 |
commit | a1f9760a598864a77d19f207aa21132beb0a31ff (patch) | |
tree | 8a8d359b98a6d5fb59f745c4f4cea3bfd306c6d7 /test | |
parent | d02cfe80618bb85cc1cc4a19a9cfc69ae64b98af (diff) | |
download | rneovim-a1f9760a598864a77d19f207aa21132beb0a31ff.tar.gz rneovim-a1f9760a598864a77d19f207aa21132beb0a31ff.tar.bz2 rneovim-a1f9760a598864a77d19f207aa21132beb0a31ff.zip |
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".
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/terminal/tui_spec.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua index 48376a344f..364ca327a4 100644 --- a/test/functional/terminal/tui_spec.lua +++ b/test/functional/terminal/tui_spec.lua @@ -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 | |