Mercurial > vim
diff src/testdir/test_cmdline.vim @ 32477:0a0b9371957f v9.0.1570
patch 9.0.1570: some tests are slow
Commit: https://github.com/vim/vim/commit/bf63011a52a3cc32609ae5945665875062a5ae50
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 19 21:41:02 2023 +0100
patch 9.0.1570: some tests are slow
Problem: Some tests are slow.
Solution: Make a few test cases faster.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 19 May 2023 22:45:03 +0200 |
parents | 8f77a43f8aac |
children | 0da40da0bbaa |
line wrap: on
line diff
--- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -791,10 +791,10 @@ func Test_shellcmd_completion() endfunc func Test_expand_star_star() - call mkdir('a/b', 'pR') - call writefile(['asdfasdf'], 'a/b/fileXname') - call feedkeys(":find **/fileXname\<Tab>\<CR>", 'xt') - call assert_equal('find a/b/fileXname', @:) + call mkdir('a/b/c', 'pR') + call writefile(['asdfasdf'], 'a/b/c/fileXname') + call feedkeys(":find a/**/fileXname\<Tab>\<CR>", 'xt') + call assert_equal('find a/b/c/fileXname', @:) bwipe! endfunc