aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_command_count.vim
diff options
context:
space:
mode:
authorShougo <Shougo.Matsu@gmail.com>2021-05-07 21:07:13 +0900
committerGitHub <noreply@github.com>2021-05-07 08:07:13 -0400
commit4be0e92db01a502863ac4bb26dd0fee16d833145 (patch)
treee6e578f6d598769c2a465974c07c29eca1aadddf /src/nvim/testdir/test_command_count.vim
parent17434b88b4892218386b49b400e7eb6d265000ff (diff)
downloadrneovim-4be0e92db01a502863ac4bb26dd0fee16d833145.tar.gz
rneovim-4be0e92db01a502863ac4bb26dd0fee16d833145.tar.bz2
rneovim-4be0e92db01a502863ac4bb26dd0fee16d833145.zip
vim-patch:8.1.1378: delete() can not handle a file name that looks like a pattern (#12784)
Problem: Delete() can not handle a file name that looks like a pattern. Solution: Use readdir() instead of appending "/*" and expanding wildcards. (Ken Takata, closes vim/vim#4424, closes vim/vim#696) https://github.com/vim/vim/commit/701ff0a3e53d253d7300c385e582659bbff7860d
Diffstat (limited to 'src/nvim/testdir/test_command_count.vim')
-rw-r--r--src/nvim/testdir/test_command_count.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_command_count.vim b/src/nvim/testdir/test_command_count.vim
index 55b230373f..36ff4cd1bb 100644
--- a/src/nvim/testdir/test_command_count.vim
+++ b/src/nvim/testdir/test_command_count.vim
@@ -103,6 +103,8 @@ endfunc
func Test_command_count_2()
silent! %argd
+ cd
+
arga a b c d
call assert_fails('5argu', 'E16:')