mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -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:
parent
8ed04587d3
commit
b4d2cb1083
@ -773,8 +773,10 @@ def Test_expr7_not()
|
|||||||
assert_equal(true, !{})
|
assert_equal(true, !{})
|
||||||
assert_equal(false, !{'yes': 'no'})
|
assert_equal(false, !{'yes': 'no'})
|
||||||
|
|
||||||
assert_equal(true, !test_null_job())
|
if has('channel')
|
||||||
assert_equal(true, !test_null_channel())
|
assert_equal(true, !test_null_job())
|
||||||
|
assert_equal(true, !test_null_channel())
|
||||||
|
endif
|
||||||
|
|
||||||
assert_equal(true, !test_null_blob())
|
assert_equal(true, !test_null_blob())
|
||||||
assert_equal(true, !0z)
|
assert_equal(true, !0z)
|
||||||
|
@ -738,6 +738,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
300,
|
||||||
/**/
|
/**/
|
||||||
299,
|
299,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user