To: vim_dev@googlegroups.com Subject: Patch 9.0.1457 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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\j.", 'xt') call assert_equal(['two', 'four'], getline(1, '$')) ounmap --- 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\j.j.", 'xt') call assert_equal(['two', 'four'], getline(1, '$')) ounmap *** ../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 -- Bram@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 ///