patch 9.1.1682: tests: Test_wildtrigger_update_screen() creates unused mapping
Commit: https://github.com/vim/vim/commit/46652092a3756ef9c2d5a04f2712165778d90ad7 Author: zeertzjq <[email protected]> Date: Sun Aug 24 12:24:08 2025 +0200 patch 9.1.1682: tests: Test_wildtrigger_update_screen() creates unused mapping Problem: tests: Test_wildtrigger_update_screen() creates an unused mapping (after 9.1.1621). Solution: Remove the mapping. Also use blank lines more consistently in test_cmdline.vim screendump tests (zeertzjq). closes: #18096 Signed-off-by: zeertzjq <[email protected]> Signed-off-by: Christian Brabandt <[email protected]> diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim index 3f8cb2d8f..01198e4bc 100644 --- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -4827,6 +4827,7 @@ endfunc func Test_wildtrigger_update_screen() CheckScreendump + let lines =<< trim [SCRIPT] command! -nargs=* -complete=customlist,TestFn TestCmd echo func TestFn(cmdarg, b, c) @@ -4859,7 +4860,6 @@ func Test_wildtrigger_update_screen() call term_sendkeys(buf, "\<esc>") call StopVimInTerminal(buf) - cnoremap <buffer> <F8> <C-R>=wildtrigger()[-1]<CR> endfunc " Issue #17969: With 'noselect', the popup menu should appear next to the @@ -4867,6 +4867,7 @@ endfunc " file paths when 'noselect' is present. func Test_noselect_expand_env_var() CheckScreendump + let lines =<< trim [SCRIPT] set wildmenu wildoptions=pum wildmode=noselect,full let $TESTDIR = 'a/b' @@ -4886,6 +4887,7 @@ func Test_noselect_expand_env_var() call term_sendkeys(buf, "\<C-P>") call VerifyScreenDump(buf, 'Test_expand_env_var_1', {}) + " clean up call term_sendkeys(buf, "\<Esc>") call StopVimInTerminal(buf) @@ -4895,6 +4897,7 @@ endfunc " 'wildmode' contains 'noselect' func Test_long_line_noselect() CheckScreendump + let lines =<< trim [SCRIPT] set wildmenu wildoptions=pum wildmode=noselect,full command -nargs=1 -complete=custom,Entries DoubleEntry echo @@ -4913,6 +4916,7 @@ func Test_long_line_noselect() call term_sendkeys(buf, "\<Esc>:DoubleEntry \<Tab>\<C-N>\<C-N>") call VerifyScreenDump(buf, 'Test_long_line_noselect_3', {}) + " clean up call term_sendkeys(buf, "\<Esc>") call StopVimInTerminal(buf) diff --git a/src/version.c b/src/version.c index 02c826e87..5ac3db391 100644 --- a/src/version.c +++ b/src/version.c @@ -724,6 +724,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1682, /**/ 1681, /**/ -- -- 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 visit https://groups.google.com/d/msgid/vim_dev/E1uq7zE-00Ggj1-UH%40256bit.org.
