forked from aniani/vim
patch 8.1.0836: user completion test can fail on MS-Windows
Problem: User completion test can fail on MS-Windows. Solution: Allow for other names befor "Administrator".
This commit is contained in:
@@ -430,8 +430,9 @@ func Test_cmdline_complete_user_names()
|
|||||||
let names = system('net user')
|
let names = system('net user')
|
||||||
if names =~ 'Administrator'
|
if names =~ 'Administrator'
|
||||||
" Trying completion of :e ~A should complete to Administrator.
|
" Trying completion of :e ~A should complete to Administrator.
|
||||||
|
" There could be other names starting with "A" before Administrator.
|
||||||
call feedkeys(':e ~A' . "\<c-a>\<c-B>\"\<cr>", 'tx')
|
call feedkeys(':e ~A' . "\<c-a>\<c-B>\"\<cr>", 'tx')
|
||||||
call assert_match('^"e \~Administrator', @:)
|
call assert_match('^"e \~.*Administrator', @:)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
@@ -783,6 +783,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 */
|
||||||
|
/**/
|
||||||
|
836,
|
||||||
/**/
|
/**/
|
||||||
835,
|
835,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user