mirror of
https://github.com/neovim/neovim.git
synced 2026-08-27 01:21:48 +00:00
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:
@@ -103,6 +103,8 @@ endfunc
|
||||
|
||||
func Test_command_count_2()
|
||||
silent! %argd
|
||||
cd
|
||||
|
||||
arga a b c d
|
||||
call assert_fails('5argu', 'E16:')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user