diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-08 19:27:40 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-08 19:27:40 +0100 |
commit | da292b07afb7ea5ec9f4b43a7326551922e29f3a (patch) | |
tree | 864bc30083b91c4de028266b17a9ab383f6df8ee | |
parent | 9db2afe46d3208775d1c3075bbee073a17f8fdc6 (diff) | |
download | vim-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.
-rw-r--r-- | src/testdir/test_messages.vim | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 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 diff --git a/src/version.c b/src/version.c index ba690bcc5..a02b198c5 100644 --- 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, |