forked from aniani/vim
patch 8.2.0340: Vim9: function and partial types not tested
Problem: Vim9: function and partial types not tested. Solution: Support more for partial, add tests.
This commit is contained in:
@@ -60,7 +60,10 @@ def Test_assignment()
|
||||
if has('float')
|
||||
let float1: float = 3.4
|
||||
endif
|
||||
let party: partial = funcref('Test_syntax')
|
||||
let funky1: func
|
||||
let funky2: func = function('len')
|
||||
let party1: partial
|
||||
let party2: partial = funcref('Test_syntax')
|
||||
|
||||
g:newvar = 'new'
|
||||
assert_equal('new', g:newvar)
|
||||
|
Reference in New Issue
Block a user