mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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".
346d2a359a
This commit is contained in:
parent
226ad89a2c
commit
0ee4df4d96
@ -515,8 +515,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' . "\<c-a>\<c-B>\"\<cr>", 'tx')
|
||||
call assert_match('^"e \~Administrator', @:)
|
||||
call assert_match('^"e \~.*Administrator', @:)
|
||||
endif
|
||||
endif
|
||||
endfunc
|
||||
|
Loading…
Reference in New Issue
Block a user