From b4d2cb1083974a7a7262417d09baf474ca816452 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 22 Feb 2020 20:33:08 +0100 Subject: [PATCH] patch 8.2.0300: Vim9: expression test fails without channel support Problem: Vim9: expression test fails without channel support. Solution: Add has('channel') check. --- src/testdir/test_vim9_expr.vim | 6 ++++-- src/version.c | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) 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, /**/ -- 2.40.0