Skip to content

Commit f7f3e32

Browse files
committed
patch 7.4.2316
Problem: Channel sort test is flaky. Solution: Add a check the output has been read.
1 parent 87bc3f7 commit f7f3e32

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/testdir/test_channel.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,7 @@ func Run_pipe_through_sort(all, use_buffer)
831831
call assert_equal("dead", job_status(g:job))
832832

833833
sp sortout
834+
call WaitFor('line("$") > 3')
834835
call assert_equal('Reading from channel output...', getline(1))
835836
if a:all
836837
call assert_equal(['aaa', 'bbb', 'ccc', 'ddd', 'eee'], getline(2, 6))

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,8 @@ static char *(features[]) =
763763

764764
static int included_patches[] =
765765
{ /* Add new patch number below this line */
766+
/**/
767+
2316,
766768
/**/
767769
2315,
768770
/**/

0 commit comments

Comments
 (0)