0
0
mirror of https://github.com/vim/vim.git synced 2025-10-05 05:34:07 -04:00

patch 8.2.2941: Vim9: using does not handle a list of strings

Problem:    Vim9: using  does not handle a list of strings.
Solution:   Convert a list to a string and escape each item. (closes #8310)
This commit is contained in:
Bram Moolenaar
2021-06-05 17:10:55 +02:00
parent 4f2417ffee
commit b288ba9f1d
3 changed files with 30 additions and 5 deletions

View File

@@ -34,6 +34,10 @@ def Test_edit_wildcards()
CheckDefFailure(['edit `=xxx`'], 'E1001:')
CheckDefFailure(['edit `="foo"'], 'E1083:')
var files = ['file 1', 'file%2', 'file# 3']
args `=files`
assert_equal(files, argv())
enddef
def Test_expand_alternate_file()