0
0
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:
Bram Moolenaar 2019-06-15 17:50:57 +02:00
parent d7c9687947
commit b6e3b88ec8
2 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1543,
/**/
1542,
/**/