From: Bram Moolenaar Date: Sun, 27 Jan 2019 19:43:41 +0000 (+0100) Subject: patch 8.1.0836: user completion test can fail on MS-Windows X-Git-Tag: v8.1.0836 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=346d2a359a6874be6cdb683a8d190ba13aa10e94;p=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". --- diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim index 4dcda858e..02eeb6b8c 100644 --- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -430,8 +430,9 @@ func Test_cmdline_complete_user_names() let names = system('net user') if names =~ 'Administrator' " Trying completion of :e ~A should complete to Administrator. + " There could be other names starting with "A" before Administrator. call feedkeys(':e ~A' . "\\\"\", 'tx') - call assert_match('^"e \~Administrator', @:) + call assert_match('^"e \~.*Administrator', @:) endif endif endfunc diff --git a/src/version.c b/src/version.c index 31bf37893..dac3c62c5 100644 --- a/src/version.c +++ b/src/version.c @@ -783,6 +783,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 836, /**/ 835, /**/