summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_const.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_const.vim')
-rw-r--r--src/testdir/test_const.vim12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/testdir/test_const.vim b/src/testdir/test_const.vim
index f0b9a052cc..bb47e5e5fd 100644
--- a/src/testdir/test_const.vim
+++ b/src/testdir/test_const.vim
@@ -43,8 +43,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
unlet bl
@@ -92,8 +94,10 @@ func Test_define_l_var_with_lock()
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