diff options
-rw-r--r-- | src/nvim/testdir/test_const.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_const.vim b/src/nvim/testdir/test_const.vim index 54b88358d8..641f7cc051 100644 --- a/src/nvim/testdir/test_const.vim +++ b/src/nvim/testdir/test_const.vim @@ -38,8 +38,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 endfunc |