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)
701ff0a3e5
This commit is contained in:
Shougo
2021-05-07 21:07:13 +09:00
committed by GitHub
parent 17434b88b4
commit 4be0e92db0
10 changed files with 134 additions and 168 deletions

View File

@@ -103,6 +103,8 @@ endfunc
func Test_command_count_2()
silent! %argd
cd
arga a b c d
call assert_fails('5argu', 'E16:')