mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +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 l
|
||||
unlet d
|
||||
unlet j
|
||||
unlet c
|
||||
if has('channel')
|
||||
unlet j
|
||||
unlet c
|
||||
endif
|
||||
unlet b
|
||||
unlet n
|
||||
endfunc
|
||||
|
Reference in New Issue
Block a user