mirror of
https://github.com/neovim/neovim.git
synced 2026-05-07 00:40:20 -04:00
vim-patch:9.1.2026: tests: patch 9.1.2019 not tested properly
Problem: tests: patch 9.1.2019 not tested properly. Solution: Add missing :exe (zeertzjq). closes: vim/vim#19028 https://github.com/vim/vim/commit/78046cc5393748e00de2c188a37feb690038f3e0
This commit is contained in:
@@ -732,7 +732,8 @@ func Test_virtualedit_set_cursor_pos_maxcol()
|
||||
bwipe!
|
||||
endfunc
|
||||
|
||||
" Verify that getpos() remains consistent when the cursor is past EOL after toggling Visual mode with virtualedit=all.
|
||||
" Verify that getpos() remains consistent when the cursor is past EOL after
|
||||
" toggling Visual mode with virtualedit=all.
|
||||
func Test_virtualedit_getpos_stable_past_eol_after_visual()
|
||||
new
|
||||
set virtualedit=all
|
||||
@@ -743,7 +744,7 @@ func Test_virtualedit_getpos_stable_past_eol_after_visual()
|
||||
|
||||
normal! v
|
||||
redraw
|
||||
normal! \<Esc>
|
||||
exe "normal! \<Esc>"
|
||||
|
||||
let p2 = getpos('.')
|
||||
call assert_equal(p1, p2, 'Position should not be re-encoded after leaving Visual mode')
|
||||
|
||||
Reference in New Issue
Block a user