0
0
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:
Bram Moolenaar 2020-02-22 20:33:08 +01:00
parent 8ed04587d3
commit b4d2cb1083
2 changed files with 6 additions and 2 deletions

View File

@ -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)

View File

@ -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,
/**/ /**/