# HG changeset patch # User Bram Moolenaar # Date 1582400703 -3600 # Node ID a09636ecee3c0926b8b88954f5f260351c5cd34c # Parent 0af19002b9a647a2d48216482bff52a6c5d0e13d patch 8.2.0300: Vim9: expression test fails without channel support Commit: https://github.com/vim/vim/commit/b4d2cb1083974a7a7262417d09baf474ca816452 Author: Bram Moolenaar Date: Sat Feb 22 20:33:08 2020 +0100 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 300, +/**/ 299, /**/ 298,