Patch 9.0.1457

4 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 16, 2023, 12:18:45 PM4/16/23
to vim...@googlegroups.com

Patch 9.0.1457
Problem: No regression test for what patch 9.0.1333 fixes.
Solution: Extend existing test to cover the fixed problem. (issue #11930)
Files: src/testdir/test_mapping.vim


*** ../vim-9.0.1456/src/testdir/test_mapping.vim 2023-02-19 21:00:27.663486796 +0000
--- src/testdir/test_mapping.vim 2023-04-16 17:15:06.769210065 +0100
***************
*** 1555,1569 ****
let lines =<< trim END
vim9script
export def Func()
! normal! dd
enddef
END
call writefile(lines, 'Xmapcmd/script.vim')
new
! call setline(1, ['one', 'two', 'three', 'four'])
nnoremap j j
source Xmapcmd/plugin.vim
! call feedkeys("d\<F3>j.", 'xt')
call assert_equal(['two', 'four'], getline(1, '$'))

ounmap <F3>
--- 1555,1569 ----
let lines =<< trim END
vim9script
export def Func()
! normal! V
enddef
END
call writefile(lines, 'Xmapcmd/script.vim')
new
! call setline(1, ['one', 'two', 'three', 'four', 'five'])
nnoremap j j
source Xmapcmd/plugin.vim
! call feedkeys("d\<F3>j.j.", 'xt')
call assert_equal(['two', 'four'], getline(1, '$'))

ounmap <F3>
*** ../vim-9.0.1456/src/version.c 2023-04-15 21:27:55.550844924 +0100
--- src/version.c 2023-04-16 17:16:49.704698976 +0100
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1457,
/**/

--
Q: Why does /dev/null accept only integers?
A: You can't sink a float.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages