diff options
author | rhysd <lin90162@yahoo.co.jp> | 2019-06-23 21:02:40 +0900 |
---|---|---|
committer | rhysd <lin90162@yahoo.co.jp> | 2019-06-24 09:31:12 +0900 |
commit | bd0615590b901b99e8cce3c5e52c83af69649cd5 (patch) | |
tree | 68295b9707670025d37f73a464a6decaac657d33 | |
parent | 1c90c19f62f97354f5b7c57ad131d4501c639ec0 (diff) | |
download | rneovim-bd0615590b901b99e8cce3c5e52c83af69649cd5.tar.gz rneovim-bd0615590b901b99e8cce3c5e52c83af69649cd5.tar.bz2 rneovim-bd0615590b901b99e8cce3c5e52c83af69649cd5.zip |
vim-patch:8.1.1543: const test fails with small features
Problem: Const test fails with small features.
Solution: Don't unlet non-existing variables.
https://github.com/vim/vim/commit/b6e3b88ec8b757b3acf940f8b4938e975c39ba67
-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 |