From aa9862a5b0e68581b07197f9c21b1441ab62a290 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sun, 9 Nov 2025 19:39:22 +0000 Subject: [PATCH] patch 9.1.1901: tests: test_vim9_generics fails without job feature Problem: tests: test_vim9_generics fails when built without the job or channel feature (lazypingu) Solution: Skip test if job/channel feature is not available fixes: #18702 Signed-off-by: Christian Brabandt --- src/testdir/test_vim9_generics.vim | 8 ++++++-- src/version.c | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/testdir/test_vim9_generics.vim b/src/testdir/test_vim9_generics.vim index 07648a3326..48b31b043c 100644 --- a/src/testdir/test_vim9_generics.vim +++ b/src/testdir/test_vim9_generics.vim @@ -417,8 +417,12 @@ def Test_generic_func_typename() Fn>>([[0z10, 0z20], [0z30]], 'list>') Fn>((1, 'abc'), 'tuple') Fn>({a: 'a', b: 'b'}, 'dict') - Fn(test_null_job(), 'job') - Fn(test_null_channel(), 'channel') + if has('job') + Fn(test_null_job(), 'job') + endif + if has('channel') + Fn(test_null_channel(), 'channel') + endif Fn(function('Foo'), 'func(list, dict): list') END v9.CheckSourceSuccess(lines) diff --git a/src/version.c b/src/version.c index 78fb7bea17..df2c7f0508 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1901, /**/ 1900, /**/