summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-04-16 17:17:37 +0100
committerBram Moolenaar <Bram@vim.org>2023-04-16 17:17:37 +0100
commitceff9cd1bb194f252c63da8e1c2dc7d6764d9d1f (patch)
tree55a49abefe0d59f7036019883e35a09ffce793b6
parent657b31fa3bda2089fef18c30fc706abe5d57e865 (diff)
patch 9.0.1457: no regression test for what patch 9.0.1333 fixesv9.0.1457
Problem: No regression test for what patch 9.0.1333 fixes. Solution: Extend existing test to cover the fixed problem. (issue #11930)
-rw-r--r--src/testdir/test_mapping.vim6
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/testdir/test_mapping.vim b/src/testdir/test_mapping.vim
index d631274d37..b1dd4446ab 100644
--- a/src/testdir/test_mapping.vim
+++ b/src/testdir/test_mapping.vim
@@ -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>
diff --git a/src/version.c b/src/version.c
index 35c1eea95a..ca4774dc38 100644
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1457,
+/**/
1456,
/**/
1455,