1
0
forked from aniani/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.
This commit is contained in:
Bram Moolenaar
2021-03-22 17:30:47 +01:00
parent f1387285e2
commit 2cec027af4
2 changed files with 5 additions and 2 deletions

View File

@@ -268,12 +268,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

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2641,
/**/
2640,
/**/