aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/tui_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-26 07:30:33 +0800
committerGitHub <noreply@github.com>2022-07-26 07:30:33 +0800
commitfe159d23fdcc0e93d454bdfdb80e05e2941d7f07 (patch)
tree4af297ea380165a44f2404ed601f50424a310111 /test/functional/terminal/tui_spec.lua
parent3ded2ab55a1d894234163f82ced026e1423c9915 (diff)
downloadrneovim-fe159d23fdcc0e93d454bdfdb80e05e2941d7f07.tar.gz
rneovim-fe159d23fdcc0e93d454bdfdb80e05e2941d7f07.tar.bz2
rneovim-fe159d23fdcc0e93d454bdfdb80e05e2941d7f07.zip
vim-patch:9.0.0071: command overlaps with printed text in scrollback (#19505)
Problem: Command overlaps with printed text in scrollback. Solution: Clear until end-of-line and use correct message chunk. (closes vim/vim#10765, closes vim/vim#10764) https://github.com/vim/vim/commit/ecdc82e74e6a7e73d9067ece1d5eac33abfde5ed N/A patches for version.c: vim-patch:9.0.0070: using utfc_ptr2char_len() when length is negative Problem: Using utfc_ptr2char_len() when length is negative. Solution: Check value of length. (closes vim/vim#10760) https://github.com/vim/vim/commit/4dc513a22c017b3061287deac74fa55f70a3214c
Diffstat (limited to 'test/functional/terminal/tui_spec.lua')
-rw-r--r--test/functional/terminal/tui_spec.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua
index bcd7ae50c8..eee759d2be 100644
--- a/test/functional/terminal/tui_spec.lua
+++ b/test/functional/terminal/tui_spec.lua
@@ -144,10 +144,9 @@ describe('TUI', function()
{3:-- TERMINAL --} |
]]}
- -- TODO(bfredl): messes up the output (just like vim does).
feed_data('g')
screen:expect{grid=[[
- ) |
+ :call ManyErr() |
{8:Error detected while processing function ManyErr:} |
{11:line 2:} |
{10:-- More --}{1: } |
@@ -156,7 +155,7 @@ describe('TUI', function()
screen:try_resize(50,10)
screen:expect{grid=[[
- ) |
+ :call ManyErr() |
{8:Error detected while processing function ManyErr:} |
{11:line 2:} |
{8:FAIL 0} |