# HG changeset patch # User Bram Moolenaar # Date 1548618305 -3600 # Node ID c2c4fb3379e8beb9a01fcd75b66c544ed17314f7 # Parent a54d64695e6fa999567af5adf50249e5c71f7384 patch 8.1.0836: user completion test can fail on MS-Windows commit https://github.com/vim/vim/commit/346d2a359a6874be6cdb683a8d190ba13aa10e94 Author: Bram Moolenaar Date: Sun Jan 27 20:43:41 2019 +0100 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -784,6 +784,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 836, +/**/ 835, /**/ 834,