From: Bram Moolenaar Date: Sat, 22 Feb 2020 19:33:08 +0000 (+0100) Subject: patch 8.2.0300: Vim9: expression test fails without channel support X-Git-Tag: v8.2.0300 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4d2cb1083974a7a7262417d09baf474ca816452;p=vim patch 8.2.0300: Vim9: expression test fails without channel support Problem: Vim9: expression test fails without channel support. Solution: Add has('channel') check. --- diff --git a/src/testdir/test_vim9_expr.vim b/src/testdir/test_vim9_expr.vim index a5b6e44d6..fb7d39f41 100644 --- a/src/testdir/test_vim9_expr.vim +++ b/src/testdir/test_vim9_expr.vim @@ -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) diff --git a/src/version.c b/src/version.c index 95a098bea..16bf1e1f9 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 300, /**/ 299, /**/