Skip to content

Commit 346d2a3

Browse files
committed
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".
1 parent 3e9d4d8 commit 346d2a3

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/testdir/test_cmdline.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,9 @@ func Test_cmdline_complete_user_names()
430430
let names = system('net user')
431431
if names =~ 'Administrator'
432432
" Trying completion of :e ~A should complete to Administrator.
433+
" There could be other names starting with "A" before Administrator.
433434
call feedkeys(':e ~A' . "\<c-a>\<c-B>\"\<cr>", 'tx')
434-
call assert_match('^"e \~Administrator', @:)
435+
call assert_match('^"e \~.*Administrator', @:)
435436
endif
436437
endif
437438
endfunc

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,8 @@ static char *(features[]) =
783783

784784
static int included_patches[] =
785785
{ /* Add new patch number below this line */
786+
/**/
787+
836,
786788
/**/
787789
835,
788790
/**/

0 commit comments

Comments
 (0)