mirror of
https://github.com/vim/vim.git
synced 2025-10-04 05:25:06 -04:00
patch 8.2.3835: the inline-function example does not work
Problem: The inline-function example does not work. Solution: Drop ":let". Add EX_EXPR_ARG to CMD_var. (issue #9352)
This commit is contained in:
@@ -2557,10 +2557,19 @@ def Test_expr7_dict_in_block()
|
||||
k: 0, }
|
||||
}
|
||||
MyCommand
|
||||
|
||||
command YourCommand {
|
||||
g:global = {
|
||||
key: 'value' }
|
||||
}
|
||||
YourCommand
|
||||
assert_equal({key: 'value'}, g:global)
|
||||
unlet g:global
|
||||
END
|
||||
CheckScriptSuccess(lines)
|
||||
|
||||
delcommand MyCommand
|
||||
delcommand YourCommand
|
||||
enddef
|
||||
|
||||
def Test_expr7_call_2bool()
|
||||
|
Reference in New Issue
Block a user