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:
@@ -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))
|
||||
|
@@ -763,6 +763,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2316,
|
||||
/**/
|
||||
2315,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user