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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user