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 <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
706b6f5867
commit
891353671a
@ -3220,11 +3220,11 @@ func Test_fuzzy_completion_bufname_fullpath()
|
|||||||
edit Xcmd/Xstate/Xfile.js
|
edit Xcmd/Xstate/Xfile.js
|
||||||
cd Xcmd/Xstate
|
cd Xcmd/Xstate
|
||||||
enew
|
enew
|
||||||
call feedkeys(":b CmdStateFile\<Tab>\<C-B>\"\<CR>", 'tx')
|
call feedkeys(":b cmdstatefile\<Tab>\<C-B>\"\<CR>", 'tx')
|
||||||
call assert_equal('"b CmdStateFile', @:)
|
call assert_equal('"b cmdstatefile', @:)
|
||||||
set wildoptions=fuzzy
|
set wildoptions=fuzzy
|
||||||
call feedkeys(":b CmdStateFile\<Tab>\<C-B>\"\<CR>", 'tx')
|
call feedkeys(":b cmdstatefile\<Tab>\<C-B>\"\<CR>", 'tx')
|
||||||
call assert_equal('"b CmdStateFile', @:)
|
call assert_match('Xcmd/Xstate/Xfile.js$', @:)
|
||||||
cd -
|
cd -
|
||||||
set wildoptions&
|
set wildoptions&
|
||||||
endfunc
|
endfunc
|
||||||
|
|||||||
@ -492,6 +492,9 @@ endfunc
|
|||||||
func Test_search_stat_option()
|
func Test_search_stat_option()
|
||||||
" Asan causes wrong results, because the search times out
|
" Asan causes wrong results, because the search times out
|
||||||
CheckNotAsan
|
CheckNotAsan
|
||||||
|
" Mark the test as flaky as the search may still occasionally time out
|
||||||
|
let g:test_is_flaky = 1
|
||||||
|
|
||||||
enew
|
enew
|
||||||
set shortmess-=S
|
set shortmess-=S
|
||||||
set maxsearchcount=999
|
set maxsearchcount=999
|
||||||
|
|||||||
@ -719,6 +719,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1630,
|
||||||
/**/
|
/**/
|
||||||
1629,
|
1629,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user