patch 9.1.1630: tests: fuzzy bufname completion test doesn't match successfully
Commit: https://github.com/vim/vim/commit/891353671a3bccc21854c12178f8e6623792f115 Author: zeertzjq <zeert...@outlook.com> Date: Thu Aug 14 20:34:08 2025 +0200 patch 9.1.1630: tests: fuzzy bufname completion test doesn't match successfully Problem: tests: fuzzy buffer name completion test doesn't match successfully (after 9.1.1627). Solution: Update pattern to account for the change in case sensitivity. Also mark Test_search_stat_option() as flaky as it can still sometimes fail (zeertzjq). closes: #17992 Signed-off-by: zeertzjq <zeert...@outlook.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim index ef311ed73..523bde86b 100644 --- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -3220,11 +3220,11 @@ func Test_fuzzy_completion_bufname_fullpath() edit Xcmd/Xstate/Xfile.js cd Xcmd/Xstate enew - call feedkeys(":b CmdStateFile\<Tab>\<C-B>\"\<CR>", 'tx') - call assert_equal('"b CmdStateFile', @:) + call feedkeys(":b cmdstatefile\<Tab>\<C-B>\"\<CR>", 'tx') + call assert_equal('"b cmdstatefile', @:) set wildoptions=fuzzy - call feedkeys(":b CmdStateFile\<Tab>\<C-B>\"\<CR>", 'tx') - call assert_equal('"b CmdStateFile', @:) + call feedkeys(":b cmdstatefile\<Tab>\<C-B>\"\<CR>", 'tx') + call assert_match('Xcmd/Xstate/Xfile.js$', @:) cd - set wildoptions& endfunc diff --git a/src/testdir/test_search_stat.vim b/src/testdir/test_search_stat.vim index 38f71a2d5..fa3ddec2d 100644 --- a/src/testdir/test_search_stat.vim +++ b/src/testdir/test_search_stat.vim @@ -492,6 +492,9 @@ endfunc func Test_search_stat_option() " Asan causes wrong results, because the search times out CheckNotAsan + " Mark the test as flaky as the search may still occasionally time out + let g:test_is_flaky = 1 + enew set shortmess-=S set maxsearchcount=999 diff --git a/src/version.c b/src/version.c index 14178370a..deae1c7bb 100644 --- a/src/version.c +++ b/src/version.c @@ -719,6 +719,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1630, /**/ 1629, /**/ -- -- 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 vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1umcwj-00ExJ0-9z%40256bit.org.