aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-05-17 08:16:13 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-05-17 08:16:31 +0800
commitb8c0eeaa30c478c1017ee16919d7cb263e70e8f3 (patch)
tree35c48e2e2117081ba8249c1a83de3e71fe3e54a1 /src
parent07ade91f217a0ed307ca87b4391d803ec0ab61cb (diff)
downloadrneovim-b8c0eeaa30c478c1017ee16919d7cb263e70e8f3.tar.gz
rneovim-b8c0eeaa30c478c1017ee16919d7cb263e70e8f3.tar.bz2
rneovim-b8c0eeaa30c478c1017ee16919d7cb263e70e8f3.zip
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. https://github.com/vim/vim/commit/262898ae43fa223916cfa27b0de81e5d9f3fc4b0
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_visual.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_visual.vim b/src/nvim/testdir/test_visual.vim
index 2b88deb813..42209f8ddd 100644
--- a/src/nvim/testdir/test_visual.vim
+++ b/src/nvim/testdir/test_visual.vim
@@ -1249,11 +1249,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()