mirror of
https://github.com/neovim/neovim.git
synced 2026-04-21 06:45:37 +00: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
78046cc539
This commit is contained in:
@@ -732,7 +732,8 @@ func Test_virtualedit_set_cursor_pos_maxcol()
|
|||||||
bwipe!
|
bwipe!
|
||||||
endfunc
|
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()
|
func Test_virtualedit_getpos_stable_past_eol_after_visual()
|
||||||
new
|
new
|
||||||
set virtualedit=all
|
set virtualedit=all
|
||||||
@@ -743,7 +744,7 @@ func Test_virtualedit_getpos_stable_past_eol_after_visual()
|
|||||||
|
|
||||||
normal! v
|
normal! v
|
||||||
redraw
|
redraw
|
||||||
normal! \<Esc>
|
exe "normal! \<Esc>"
|
||||||
|
|
||||||
let p2 = getpos('.')
|
let p2 = getpos('.')
|
||||||
call assert_equal(p1, p2, 'Position should not be re-encoded after leaving Visual mode')
|
call assert_equal(p1, p2, 'Position should not be re-encoded after leaving Visual mode')
|
||||||
|
|||||||
Reference in New Issue
Block a user