summaryrefslogtreecommitdiff
path: root/src/testdir/test_messages.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-08 19:27:40 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-08 19:27:40 +0100
commitda292b07afb7ea5ec9f4b43a7326551922e29f3a (patch)
tree864bc30083b91c4de028266b17a9ab383f6df8ee /src/testdir/test_messages.vim
parent9db2afe46d3208775d1c3075bbee073a17f8fdc6 (diff)
downloadvim-git-da292b07afb7ea5ec9f4b43a7326551922e29f3a.tar.gz
patch 8.2.0102: messages test fails in small versionv8.2.0102
Problem: Messages test fails in small version. Solution: Only use test_null_job() when available.
Diffstat (limited to 'src/testdir/test_messages.vim')
-rw-r--r--src/testdir/test_messages.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testdir/test_messages.vim b/src/testdir/test_messages.vim
index 3e7d63c7d..62a191ec8 100644
--- 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