mirror of
https://github.com/vim/vim.git
synced 2025-10-09 06:14:17 -04:00
patch 8.1.0591: channel sort test is flaky
Problem: Channel sort test is flaky. Solution: Do not check if the job is running, it may have be done very fast.
This commit is contained in:
@@ -922,9 +922,9 @@ func Run_pipe_through_sort(all, use_buffer)
|
||||
let options.in_bot = 4
|
||||
endif
|
||||
let g:job = job_start('sort', options)
|
||||
call assert_equal("run", job_status(g:job))
|
||||
|
||||
if !a:use_buffer
|
||||
call assert_equal("run", job_status(g:job))
|
||||
call ch_sendraw(g:job, "ccc\naaa\nddd\nbbb\neee\n")
|
||||
call ch_close_in(g:job)
|
||||
endif
|
||||
|
@@ -799,6 +799,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
591,
|
||||
/**/
|
||||
590,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user