forked from aniani/vim
patch 8.2.2234: command line wildmenu test often fails with Unix GUI
Problem: Command line wildmenu test often fails with Unix GUI. Solution: Skip the test where it is expected to fail.
This commit is contained in:
@@ -58,7 +58,9 @@ func Test_complete_wildmenu()
|
|||||||
call feedkeys(":e Xdir1/\<Tab>\<Down>\<Up>\<Right>\<CR>", 'tx')
|
call feedkeys(":e Xdir1/\<Tab>\<Down>\<Up>\<Right>\<CR>", 'tx')
|
||||||
call assert_equal('testfile1', getline(1))
|
call assert_equal('testfile1', getline(1))
|
||||||
|
|
||||||
+ " <C-J>/<C-K> mappings to go up/down directories when 'wildcharm' is
|
" this fails in some Unix GUIs, not sure why
|
||||||
|
if !has('unix') || !has('gui_running')
|
||||||
|
" <C-J>/<C-K> mappings to go up/down directories when 'wildcharm' is
|
||||||
" different than 'wildchar'.
|
" different than 'wildchar'.
|
||||||
set wildcharm=<C-Z>
|
set wildcharm=<C-Z>
|
||||||
cnoremap <C-J> <Down><C-Z>
|
cnoremap <C-J> <Down><C-Z>
|
||||||
@@ -70,6 +72,7 @@ func Test_complete_wildmenu()
|
|||||||
set wildcharm=0
|
set wildcharm=0
|
||||||
cunmap <C-J>
|
cunmap <C-J>
|
||||||
cunmap <C-K>
|
cunmap <C-K>
|
||||||
|
endif
|
||||||
|
|
||||||
" Test for canceling the wild menu by adding a character
|
" Test for canceling the wild menu by adding a character
|
||||||
redrawstatus
|
redrawstatus
|
||||||
|
@@ -750,6 +750,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 */
|
||||||
|
/**/
|
||||||
|
2234,
|
||||||
/**/
|
/**/
|
||||||
2233,
|
2233,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user