patch 9.1.1901: tests: test_vim9_generics fails without job feature

Commit: 
https://github.com/vim/vim/commit/aa9862a5b0e68581b07197f9c21b1441ab62a290
Author: Christian Brabandt <[email protected]>
Date:   Sun Nov 9 19:39:22 2025 +0000

    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 <[email protected]>

diff --git a/src/testdir/test_vim9_generics.vim 
b/src/testdir/test_vim9_generics.vim
index 07648a332..48b31b043 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<list<list<blob>>>([[0z10, 0z20], [0z30]], 'list<list<blob>>')
     Fn<tuple<number, string>>((1, 'abc'), 'tuple<number, string>')
     Fn<dict<string>>({a: 'a', b: 'b'}, 'dict<string>')
-    Fn<job>(test_null_job(), 'job')
-    Fn<channel>(test_null_channel(), 'channel')
+    if has('job')
+      Fn<job>(test_null_job(), 'job')
+    endif
+    if has('channel')
+      Fn<channel>(test_null_channel(), 'channel')
+    endif
     Fn<func>(function('Foo'), 'func(list<string>, dict<number>): list<blob>')
   END
   v9.CheckSourceSuccess(lines)
diff --git a/src/version.c b/src/version.c
index 78fb7bea1..df2c7f050 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,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vJWP2-001DBe-5t%40256bit.org.

Raspunde prin e-mail lui