patch 8.1.1543: const test fails with small features
Problem: Const test fails with small features.
Solution: Don't unlet non-existing variables.
diff --git a/src/testdir/test_const.vim b/src/testdir/test_const.vim
index f0b9a05..bb47e5e 100644
--- a/src/testdir/test_const.vim
+++ b/src/testdir/test_const.vim
@@ -43,8 +43,10 @@
unlet F
unlet l
unlet d
- unlet j
- unlet c
+ if has('channel')
+ unlet j
+ unlet c
+ endif
unlet b
unlet n
unlet bl
@@ -92,8 +94,10 @@
unlet l:F
unlet l:l
unlet l:d
- unlet l:j
- unlet l:c
+ if has('channel')
+ unlet l:j
+ unlet l:c
+ endif
unlet l:b
unlet l:n
unlet l:bl
diff --git a/src/version.c b/src/version.c
index 931b3af..0b036d0 100644
--- a/src/version.c
+++ b/src/version.c
@@ -778,6 +778,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1543,
+/**/
1542,
/**/
1541,