]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1457: no regression test for what patch 9.0.1333 fixes v9.0.1457
authorBram Moolenaar <Bram@vim.org>
Sun, 16 Apr 2023 16:17:37 +0000 (17:17 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 16 Apr 2023 16:17:37 +0000 (17:17 +0100)
Problem:    No regression test for what patch 9.0.1333 fixes.
Solution:   Extend existing test to cover the fixed problem. (issue #11930)

src/testdir/test_mapping.vim
src/version.c

index d631274d3735529a8a0d1b72cc1512beca1b95c4..b1dd4446ab547f855baac7e22a2fbecd8faa5b46 100644 (file)
@@ -1555,15 +1555,15 @@ func Test_map_script_cmd_redo()
   let lines =<< trim END
       vim9script
       export def Func()
-        normal! dd
+        normal! V
       enddef
   END
   call writefile(lines, 'Xmapcmd/script.vim')
   new
-  call setline(1, ['one', 'two', 'three', 'four'])
+  call setline(1, ['one', 'two', 'three', 'four', 'five'])
   nnoremap j j
   source Xmapcmd/plugin.vim
-  call feedkeys("d\<F3>j.", 'xt')
+  call feedkeys("d\<F3>j.j.", 'xt')
   call assert_equal(['two', 'four'], getline(1, '$'))
 
   ounmap <F3>
index 35c1eea95a92285700ffae77c56900591631ec97..ca4774dc38adf50362c2492ac2c86eb0bcc330e2 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1457,
 /**/
     1456,
 /**/