mirror of
https://github.com/neovim/neovim.git
synced 2026-03-14 21:07:24 +00:00
vim-patch:8.1.1984: more functions can be used as methods
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
3f4f3d8e7e
test_prompt_buffer.vim already had all the changes, except
Test_prompt_garbage_collect().
This commit is contained in:
@@ -59,7 +59,7 @@ func Test_vim_function()
|
||||
|
||||
try
|
||||
py3 f = vim.Function(b'\x80\xfdR' + vim.eval('s:foo()').encode())
|
||||
call assert_equal(name, py3eval('f.name'))
|
||||
call assert_equal(name, 'f.name'->py3eval())
|
||||
catch
|
||||
call assert_false(v:exception)
|
||||
endtry
|
||||
|
||||
Reference in New Issue
Block a user