changeset 24200:dafaa9c80334 v8.2.2641

patch 8.2.2641: display test fails because of lacking redraw Commit: https://github.com/vim/vim/commit/2cec027af461095f96dec3bfd036c267f790b0f4 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 22 17:30:47 2021 +0100 patch 8.2.2641: display test fails because of lacking redraw Problem: Display test fails because of lacking redraw. Solution: Add a redraw command.
author Bram Moolenaar <Bram@vim.org>
date Mon, 22 Mar 2021 17:45:03 +0100
parents 115fd1b16a5d
children 1b0ca859705b
files src/testdir/test_display.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_display.vim
+++ b/src/testdir/test_display.vim
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2641,
+/**/
     2640,
 /**/
     2639,