Skip to content

Commit febe138

Browse files
dpellebrammool
authored andcommitted
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)
1 parent 98b3730 commit febe138

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/testdir/test_cmdline.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,7 +2149,7 @@ func Test_wildmenu_pum()
21492149
call VerifyScreenDump(buf, 'Test_wildmenu_pum_13', {})
21502150

21512151
" Directory name completion
2152-
call mkdir('Xnamedir/XdirA/XdirB', 'p')
2152+
call mkdir('Xnamedir/XdirA/XdirB', 'pR')
21532153
call writefile([], 'Xnamedir/XfileA')
21542154
call writefile([], 'Xnamedir/XdirA/XfileB')
21552155
call writefile([], 'Xnamedir/XdirA/XdirB/XfileC')
@@ -2229,7 +2229,7 @@ func Test_wildmenu_pum()
22292229
call VerifyScreenDump(buf, 'Test_wildmenu_pum_31', {})
22302230

22312231
" Tests a directory name contained full-width characters.
2232-
call mkdir('Xnamedir/あいう', 'pR')
2232+
call mkdir('Xnamedir/あいう', 'p')
22332233
call writefile([], 'Xnamedir/あいう/abc')
22342234
call writefile([], 'Xnamedir/あいう/xyz')
22352235
call writefile([], 'Xnamedir/あいう/123')

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,8 @@ static char *(features[]) =
703703

704704
static int included_patches[] =
705705
{ /* Add new patch number below this line */
706+
/**/
707+
463,
706708
/**/
707709
462,
708710
/**/

0 commit comments

Comments
 (0)