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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230416161840.0EDBF1C0423%40moolenaar.net.

Raspunde prin e-mail lui