From: Bram Moolenaar Date: Mon, 17 Jan 2022 17:52:22 +0000 (+0000) Subject: patch 8.2.4121: Visual test fails on MS-Windows X-Git-Tag: v8.2.4121 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=262898ae43fa223916cfa27b0de81e5d9f3fc4b0;p=vim 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. --- diff --git a/src/testdir/test_visual.vim b/src/testdir/test_visual.vim index 9ca0fa9c8..b438fa1e6 100644 --- 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\jjA-\" call assert_equal([' - let xxx', 'xxxxx -ˆ', 'xxxxxxxx-xxx'], getline(1, 3)) bwipe! + set isprint& endfunc func Test_visual_reselect_with_count() diff --git a/src/version.c b/src/version.c index 6fda77e93..bc7552248 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4121, /**/ 4120, /**/