1
0
forked from aniani/vim

patch 7.4.2316

Problem:    Channel sort test is flaky.
Solution:   Add a check the output has been read.
This commit is contained in:
Bram Moolenaar
2016-09-03 18:47:24 +02:00
parent 87bc3f7459
commit f7f3e32fcc
2 changed files with 3 additions and 0 deletions

View File

@@ -831,6 +831,7 @@ func Run_pipe_through_sort(all, use_buffer)
call assert_equal("dead", job_status(g:job))
sp sortout
call WaitFor('line("$") > 3')
call assert_equal('Reading from channel output...', getline(1))
if a:all
call assert_equal(['aaa', 'bbb', 'ccc', 'ddd', 'eee'], getline(2, 6))

View File

@@ -763,6 +763,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2316,
/**/
2315,
/**/