commit f4eabcca4f14718415c9cf539e85d0c4034092da
parent e53accf8ec5a2cb4522af8fe477acebea5c0ce1b
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun, 28 Dec 2025 07:01:52 +0800
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
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/test/old/testdir/test_virtualedit.vim b/test/old/testdir/test_virtualedit.vim
@@ -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')