mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -04:00
patch 7.4.1879
Problem: Channel test is flaky. Solution: Wait for close_cb to be invoked.
This commit is contained in:
parent
cf7c11a947
commit
e38a2f7ebd
@ -708,7 +708,7 @@ func Run_test_pipe_to_buffer(use_name, nomod)
|
|||||||
call ch_sendraw(handle, "double this\n")
|
call ch_sendraw(handle, "double this\n")
|
||||||
call ch_sendraw(handle, "quit\n")
|
call ch_sendraw(handle, "quit\n")
|
||||||
sp pipe-output
|
sp pipe-output
|
||||||
call s:waitFor('line("$") >= 6')
|
call s:waitFor('line("$") >= 6 && s:bufClosed == "yes"')
|
||||||
call assert_equal([firstline, 'line one', 'line two', 'this', 'AND this', 'Goodbye!'], getline(1, '$'))
|
call assert_equal([firstline, 'line one', 'line two', 'this', 'AND this', 'Goodbye!'], getline(1, '$'))
|
||||||
if a:nomod
|
if a:nomod
|
||||||
call assert_equal(0, &modifiable)
|
call assert_equal(0, &modifiable)
|
||||||
|
@ -753,6 +753,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1879,
|
||||||
/**/
|
/**/
|
||||||
1878,
|
1878,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user