Skip to content

Commit e246925

Browse files
committed
patch 7.4.1257
Problem: Channel test fails in some configurations. Solution: Add check for the +channel feature.
1 parent b3e2f00 commit e246925

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/testdir/test_channel.vim

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
" Test for channel functions.
22
scriptencoding utf-8
33

4-
" This requires the Python command to run the test server.
4+
if !has('channel')
5+
finish
6+
endif
7+
8+
" This test requires the Python command to run the test server.
59
" This most likely only works on Unix and Windows console.
610
if has('unix')
711
" We also need the pkill command to make sure the server can be stopped.

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+
1257,
745747
/**/
746748
1256,
747749
/**/

0 commit comments

Comments
 (0)