# HG changeset patch # User Bram Moolenaar # Date 1681662603 -7200 # Node ID f99b85fc18e70e0f21660e656f2d16bd701d57d8 # Parent f38307cd47f5bc1e265a2d48bf215f91eeb47224 patch 9.0.1457: no regression test for what patch 9.0.1333 fixes Commit: https://github.com/vim/vim/commit/ceff9cd1bb194f252c63da8e1c2dc7d6764d9d1f Author: Bram Moolenaar Date: Sun Apr 16 17:17:37 2023 +0100 patch 9.0.1457: no regression test for what patch 9.0.1333 fixes Problem: No regression test for what patch 9.0.1333 fixes. Solution: Extend existing test to cover the fixed problem. (issue https://github.com/vim/vim/issues/11930) diff --git a/src/testdir/test_mapping.vim b/src/testdir/test_mapping.vim --- 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\j.", 'xt') + call feedkeys("d\j.j.", 'xt') call assert_equal(['two', 'four'], getline(1, '$')) ounmap diff --git a/src/version.c b/src/version.c --- 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,