patch 8.2.0278: channel test is flaky on Mac
Problem: Channel test is flaky on Mac.
Solution: Reset variable before sending message.
diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim
index 16fe5c7..c98f5bd 100644
--- a/src/testdir/test_channel.vim
+++ b/src/testdir/test_channel.vim
@@ -1158,9 +1158,8 @@
call WaitForAssert({-> assert_equal("dict: there", g:Ch_errmsg)})
" Receive a json object split in pieces
- unlet! g:Ch_outobj
- call ch_sendraw(job, "echosplit [0, {\"one\": 1,| \"tw|o\": 2, \"three\": 3|}]\n")
let g:Ch_outobj = ''
+ call ch_sendraw(job, "echosplit [0, {\"one\": 1,| \"tw|o\": 2, \"three\": 3|}]\n")
call WaitForAssert({-> assert_equal({'one': 1, 'two': 2, 'three': 3}, g:Ch_outobj)})
finally
call job_stop(job)
diff --git a/src/version.c b/src/version.c
index b76a354..d74b0fa 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 278,
+/**/
277,
/**/
276,