aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-12-19 09:55:17 +0800
committerzeertzjq <zeertzjq@outlook.com>2021-12-19 09:55:17 +0800
commitc05e6476813a6079487c302fb6ed29ba655b0e8e (patch)
tree8345237bf1f3ef48caa3ee4e45d7a504d4cc6827
parentfd70018e21b8ce4b8c9f6074854e0174a87dfbb5 (diff)
downloadrneovim-c05e6476813a6079487c302fb6ed29ba655b0e8e.tar.gz
rneovim-c05e6476813a6079487c302fb6ed29ba655b0e8e.tar.bz2
rneovim-c05e6476813a6079487c302fb6ed29ba655b0e8e.zip
vim-patch:8.2.2641: display test fails because of lacking redraw
Problem: Display test fails because of lacking redraw. Solution: Add a redraw command. https://github.com/vim/vim/commit/2cec027af461095f96dec3bfd036c267f790b0f4
-rw-r--r--src/nvim/testdir/test_display.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_display.vim b/src/nvim/testdir/test_display.vim
index f8ebb31b45..6dcc45aca9 100644
--- a/src/nvim/testdir/test_display.vim
+++ b/src/nvim/testdir/test_display.vim
@@ -274,12 +274,13 @@ func Test_eob_fillchars()
call assert_fails(':set fillchars=eob:<ff>', 'E474:')
" default is ~
new
+ redraw
call assert_equal('~', Screenline(2))
set fillchars=eob:+
- redraw!
+ redraw
call assert_equal('+', Screenline(2))
set fillchars=eob:\
- redraw!
+ redraw
call assert_equal(' ', nr2char(screenchar(2, 1)))
set fillchars&
close