]> git.feebdaed.xyz Git - 0xmirror/vim.git/commitdiff
patch 9.1.2026: tests: patch 9.1.2019 not tested properly
authorzeertzjq <zeertzjq@outlook.com>
Sat, 27 Dec 2025 15:07:52 +0000 (15:07 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 27 Dec 2025 15:07:52 +0000 (15:07 +0000)
Problem:  tests: patch 9.1.2019 not tested properly.
Solution: Add missing :exe (zeertzjq).

closes: #19028

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_virtualedit.vim
src/version.c

index fa6151cdac1e1f5791ebbf0aabf4085d891aef23..7819025f6bf540d22b8cdb99b65a2a7cb4f4c0db 100644 (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')
index 7f80ccf5b47e6b513a6e75d6ada49086505587b2..14e983beaac1dc8dd8313a2e18292f217a7289d7 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2026,
 /**/
     2025,
 /**/