summaryrefslogtreecommitdiff
path: root/src/testdir/test_cmdline.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-28 13:38:54 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-28 13:38:54 +0200
commit1773ddfdcd106fa3bbf479c9b62ccde03c2a86ba (patch)
tree48a431312f3e7ec929ac95faf1404ac110e9cee7 /src/testdir/test_cmdline.vim
parente67d546f3c691139e6d3d33f36724d98aec04c14 (diff)
downloadvim-git-1773ddfdcd106fa3bbf479c9b62ccde03c2a86ba.tar.gz
patch 7.4.2276v7.4.2276
Problem: Command line test fails on Windows when run twice. Solution: Wipe the buffer so that the directory can be deleted.
Diffstat (limited to 'src/testdir/test_cmdline.vim')
-rw-r--r--src/testdir/test_cmdline.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim
index f6721d523..4bacf5721 100644
--- a/src/testdir/test_cmdline.vim
+++ b/src/testdir/test_cmdline.vim
@@ -186,5 +186,6 @@ func Test_expand_star_star()
call writefile(['asdfasdf'], 'a/b/fileXname')
call feedkeys(":find **/fileXname\<Tab>\<CR>", 'xt')
call assert_equal('find a/b/fileXname', getreg(':'))
+ bwipe!
call delete('a', 'rf')
endfunc