]> granicus.if.org Git - vim/commitdiff
patch 8.2.0102: messages test fails in small version v8.2.0102
authorBram Moolenaar <Bram@vim.org>
Wed, 8 Jan 2020 18:27:40 +0000 (19:27 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 8 Jan 2020 18:27:40 +0000 (19:27 +0100)
Problem:    Messages test fails in small version.
Solution:   Only use test_null_job() when available.

src/testdir/test_messages.vim
src/version.c

index 3e7d63c7dd7922110d24d6d274d723baeadb5a4c..62a191ec8dc72c197c53d1b25cb76f08e80ffe78 100644 (file)
@@ -273,8 +273,10 @@ func Test_null()
   echom test_null_list()
   echom test_null_dict()
   echom test_null_blob()
-  echom test_null_job()
   echom test_null_string()
-  echom test_null_channel()
   echom test_null_partial()
+  if has('job')
+    echom test_null_job()
+    echom test_null_channel()
+  endif
 endfunc
index ba690bcc520cba50fb6677fd8184fa95475adf15..a02b198c5ce4e7cb175b5f93d1a28549d3b656ab 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    102,
 /**/
     101,
 /**/