patch 7.4.1501
Problem: Garbage collection with an option channel is not tested.
Solution: Call garbagecollect() in the test.
diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim
index 3bdfd4c..31a4ff6 100644
--- a/src/testdir/test_channel.vim
+++ b/src/testdir/test_channel.vim
@@ -146,6 +146,9 @@
endif
call assert_equal('got it', s:responseMsg)
+ " Collect garbage, tests that our handle isn't collected.
+ call garbagecollect()
+
" check setting options (without testing the effect)
call ch_setoptions(handle, {'callback': 's:NotUsed'})
call ch_setoptions(handle, {'timeout': 1111})
diff --git a/src/version.c b/src/version.c
index 106fa20..0e51caa 100644
--- a/src/version.c
+++ b/src/version.c
@@ -744,6 +744,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1501,
+/**/
1500,
/**/
1499,