mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.1543: const test fails with small features
Problem: Const test fails with small features. Solution: Don't unlet non-existing variables.
This commit is contained in:
parent
d7c9687947
commit
b6e3b88ec8
@ -43,8 +43,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
|
||||
unlet bl
|
||||
@ -92,8 +94,10 @@ func Test_define_l_var_with_lock()
|
||||
unlet l:F
|
||||
unlet l:l
|
||||
unlet l:d
|
||||
if has('channel')
|
||||
unlet l:j
|
||||
unlet l:c
|
||||
endif
|
||||
unlet l:b
|
||||
unlet l:n
|
||||
unlet l:bl
|
||||
|
@ -777,6 +777,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1543,
|
||||
/**/
|
||||
1542,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user