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:
rhysd
2019-06-23 21:02:40 +09:00
parent 1c90c19f62
commit bd0615590b

View File

@@ -38,8 +38,10 @@ func Test_define_var_with_lock()
unlet F
unlet l
unlet d
if has('channel')
unlet j
unlet c
endif
unlet b
unlet n
endfunc