mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
vim-patch:8.1.1543: const test fails with small features
Problem: Const test fails with small features.
Solution: Don't unlet non-existing variables.
b6e3b88ec8
This commit is contained in:
@@ -38,8 +38,10 @@ func Test_define_var_with_lock()
|
|||||||
unlet F
|
unlet F
|
||||||
unlet l
|
unlet l
|
||||||
unlet d
|
unlet d
|
||||||
unlet j
|
if has('channel')
|
||||||
unlet c
|
unlet j
|
||||||
|
unlet c
|
||||||
|
endif
|
||||||
unlet b
|
unlet b
|
||||||
unlet n
|
unlet n
|
||||||
endfunc
|
endfunc
|
||||||
|
Reference in New Issue
Block a user