forked from aniani/vim
patch 9.0.0463: command line test leaves directory behind
Problem: Command line test leaves directory behind. Solution: Use the "R" flag on the first mkdir(). (Dominique Pellé, closes #11127)
This commit is contained in:
parent
98b373075e
commit
febe13892e
@ -2149,7 +2149,7 @@ func Test_wildmenu_pum()
|
||||
call VerifyScreenDump(buf, 'Test_wildmenu_pum_13', {})
|
||||
|
||||
" Directory name completion
|
||||
call mkdir('Xnamedir/XdirA/XdirB', 'p')
|
||||
call mkdir('Xnamedir/XdirA/XdirB', 'pR')
|
||||
call writefile([], 'Xnamedir/XfileA')
|
||||
call writefile([], 'Xnamedir/XdirA/XfileB')
|
||||
call writefile([], 'Xnamedir/XdirA/XdirB/XfileC')
|
||||
@ -2229,7 +2229,7 @@ func Test_wildmenu_pum()
|
||||
call VerifyScreenDump(buf, 'Test_wildmenu_pum_31', {})
|
||||
|
||||
" Tests a directory name contained full-width characters.
|
||||
call mkdir('Xnamedir/あいう', 'pR')
|
||||
call mkdir('Xnamedir/あいう', 'p')
|
||||
call writefile([], 'Xnamedir/あいう/abc')
|
||||
call writefile([], 'Xnamedir/あいう/xyz')
|
||||
call writefile([], 'Xnamedir/あいう/123')
|
||||
|
@ -703,6 +703,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
463,
|
||||
/**/
|
||||
462,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user