diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-27 21:55:13 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-27 21:55:13 +0200 |
commit | 73d4e4c8922f6f4d256f910a18f47c0c3a48c28b (patch) | |
tree | 61f174d30ce316a317650c55140c2839da316426 /src/testdir | |
parent | 3056735ae8a366aa7fcb51872520895251858637 (diff) | |
download | vim-git-73d4e4c8922f6f4d256f910a18f47c0c3a48c28b.tar.gz |
patch 7.4.2274v7.4.2274
Problem: Command line completion on "find **/filename" drops sub-directory.
Solution: Handle this case separately. (Harm te Hennepe, closes #932, closes
#939)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_cmdline.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim index 3a35637b7..f6721d523 100644 --- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -180,3 +180,11 @@ func Test_getcompletion() call assert_fails('call getcompletion("", "burp")', 'E475:') endfunc + +func Test_expand_star_star() + call mkdir('a/b', 'p') + call writefile(['asdfasdf'], 'a/b/fileXname') + call feedkeys(":find **/fileXname\<Tab>\<CR>", 'xt') + call assert_equal('find a/b/fileXname', getreg(':')) + call delete('a', 'rf') +endfunc |