0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 9.0.0325: MS-Windows: completion test fails

Problem:    MS-Windows: completion test fails.
Solution:   Adjust directory prefix.
This commit is contained in:
Bram Moolenaar 2022-08-29 23:01:45 +01:00
parent 15cae5c9ca
commit 816736bcc7
2 changed files with 8 additions and 6 deletions

View File

@ -441,29 +441,29 @@ func Test_ins_completeslash()
set noshellslash
set completeslash=
exe "normal oXd\<C-X>\<C-F>"
exe "normal oXcp\<C-X>\<C-F>"
call assert_equal('Xcpldir\', getline('.'))
set completeslash=backslash
exe "normal oXd\<C-X>\<C-F>"
exe "normal oXcp\<C-X>\<C-F>"
call assert_equal('Xcpldir\', getline('.'))
set completeslash=slash
exe "normal oXd\<C-X>\<C-F>"
exe "normal oXcp\<C-X>\<C-F>"
call assert_equal('Xcpldir/', getline('.'))
set shellslash
set completeslash=
exe "normal oXd\<C-X>\<C-F>"
exe "normal oXcp\<C-X>\<C-F>"
call assert_equal('Xcpldir/', getline('.'))
set completeslash=backslash
exe "normal oXd\<C-X>\<C-F>"
exe "normal oXcp\<C-X>\<C-F>"
call assert_equal('Xcpldir\', getline('.'))
set completeslash=slash
exe "normal oXd\<C-X>\<C-F>"
exe "normal oXcp\<C-X>\<C-F>"
call assert_equal('Xcpldir/', getline('.'))
%bw!
call delete('Xcpldir', 'rf')

View File

@ -707,6 +707,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
325,
/**/
324,
/**/