mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.2.0300: Vim9: expression test fails without channel support
Problem: Vim9: expression test fails without channel support. Solution: Add has('channel') check.
This commit is contained in:
@@ -773,8 +773,10 @@ def Test_expr7_not()
|
||||
assert_equal(true, !{})
|
||||
assert_equal(false, !{'yes': 'no'})
|
||||
|
||||
assert_equal(true, !test_null_job())
|
||||
assert_equal(true, !test_null_channel())
|
||||
if has('channel')
|
||||
assert_equal(true, !test_null_job())
|
||||
assert_equal(true, !test_null_channel())
|
||||
endif
|
||||
|
||||
assert_equal(true, !test_null_blob())
|
||||
assert_equal(true, !0z)
|
||||
|
Reference in New Issue
Block a user