0
0
mirror of https://github.com/vim/vim.git synced 2025-10-14 07:04:10 -04:00

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.
This commit is contained in:
Bram Moolenaar
2022-01-17 17:52:22 +00:00
parent 9f8c304c8a
commit 262898ae43
2 changed files with 4 additions and 0 deletions

View File

@@ -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()