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:
zeertzjq
2025-12-28 07:01:52 +08:00
parent e53accf8ec
commit f4eabcca4f

View File

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