Mercurial > vim
changeset 30255:5928627f00e5 v9.0.0463
patch 9.0.0463: command line test leaves directory behind
Commit: https://github.com/vim/vim/commit/febe13892ede37d2a8462b9921e05a55e059db0c
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Wed Sep 14 12:51:49 2022 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 14 Sep 2022 14:00:06 +0200 |
parents | b8a12300c168 |
children | 15bee6545058 |
files | src/testdir/test_cmdline.vim src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -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')