changeset 27185:353b71688c9d v8.2.4121

patch 8.2.4121: Visual test fails on MS-Windows Commit: https://github.com/vim/vim/commit/262898ae43fa223916cfa27b0de81e5d9f3fc4b0 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 17 17:52:22 2022 +0000 patch 8.2.4121: Visual test fails on MS-Windows Problem: Visual test fails on MS-Windows. Solution: Set 'isprint' so that the character used is not printable.
author Bram Moolenaar <Bram@vim.org>
date Mon, 17 Jan 2022 19:00:05 +0100
parents 63b6436c07ea
children 0ef7a05715d3
files src/testdir/test_visual.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_visual.vim
+++ b/src/testdir/test_visual.vim
@@ -1280,11 +1280,13 @@ endfunc
 
 func Test_visual_block_append_invalid_char()
   " this was going over the end of the line
+  set isprint=@,161-255
   new
   call setline(1, ['	   let xxx', 'xxxxxˆ', 'xxxxxxxxxxx'])
   exe "normal 0\<C-V>jjA-\<Esc>"
   call assert_equal(['	-   let xxx', 'xxxxx   -ˆ', 'xxxxxxxx-xxx'], getline(1, 3))
   bwipe!
+  set isprint&
 endfunc
 
 func Test_visual_reselect_with_count()
--- 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 */
 /**/
+    4121,
+/**/
     4120,
 /**/
     4119,