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:
@@ -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
|
||||
|
||||
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2641,
|
||||
/**/
|
||||
2640,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user