From f4eabcca4f14718415c9cf539e85d0c4034092da Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 28 Dec 2025 07:01:52 +0800 Subject: [PATCH] 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 --- test/old/testdir/test_virtualedit.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/old/testdir/test_virtualedit.vim b/test/old/testdir/test_virtualedit.vim index 7f54d750e9..274990da1f 100644 --- 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! \ + exe "normal! \" let p2 = getpos('.') call assert_equal(p1, p2, 'Position should not be re-encoded after leaving Visual mode')