]> granicus.if.org Git - vim/commitdiff
patch 8.2.4884: test fails without the job/channel feature v8.2.4884
authorBram Moolenaar <Bram@vim.org>
Fri, 6 May 2022 12:27:08 +0000 (13:27 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 6 May 2022 12:27:08 +0000 (13:27 +0100)
Problem:    Test fails without the job/channel feature. (Dominique PellĂ©)
Solution:   Add condition.

src/testdir/test_vim9_script.vim
src/version.c

index 8811382e783d099e71ee9766f6b0f762fa1401ab..8ad3b303eca04379bd63dc2294f036624e87f0c4 100644 (file)
@@ -4199,8 +4199,10 @@ def Test_echo_uninit_variables()
   var Var_func: func
   var var_string: string
   var var_blob: blob
-  var var_job: job
-  var var_channel: channel
+  if has('job')
+    var var_job: job
+    var var_channel: channel
+  endif
   var var_list: list<any>
   var var_dict: dict<any>
 
index d997897797283577018c9c658455f24ddeb2a534..77aab2fcb89f1eed76d6d6dcdebaeaf86a432a3e 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4884,
 /**/
     4883,
 /**/