Skip to content

Commit da292b0

Browse files
committed
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.
1 parent 9db2afe commit da292b0

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/testdir/test_messages.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,10 @@ func Test_null()
273273
echom test_null_list()
274274
echom test_null_dict()
275275
echom test_null_blob()
276-
echom test_null_job()
277276
echom test_null_string()
278-
echom test_null_channel()
279277
echom test_null_partial()
278+
if has('job')
279+
echom test_null_job()
280+
echom test_null_channel()
281+
endif
280282
endfunc

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,8 @@ static char *(features[]) =
742742

743743
static int included_patches[] =
744744
{ /* Add new patch number below this line */
745+
/**/
746+
102,
745747
/**/
746748
101,
747749
/**/

0 commit comments

Comments
 (0)