changeset 19083:82410cbaa042 v8.2.0102

patch 8.2.0102: messages test fails in small version Commit: https://github.com/vim/vim/commit/da292b07afb7ea5ec9f4b43a7326551922e29f3a Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 8 19:27:40 2020 +0100 patch 8.2.0102: messages test fails in small version Problem: Messages test fails in small version. Solution: Only use test_null_job() when available.
author Bram Moolenaar <Bram@vim.org>
date Wed, 08 Jan 2020 19:30:04 +0100
parents f2910735ba83
children cd25e7f54344
files src/testdir/test_messages.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_messages.vim
+++ b/src/testdir/test_messages.vim
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    102,
+/**/
     101,
 /**/
     100,