0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 7.4.1635

Problem:    Channel test is a bit flaky.
Solution:   Remove 'DETACH' if it's there.
This commit is contained in:
Bram Moolenaar
2016-03-21 23:18:54 +01:00
parent 8e08125d3a
commit 6a06363861
2 changed files with 5 additions and 0 deletions

View File

@@ -685,6 +685,9 @@ func Run_test_pipe_to_buffer(use_name)
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')
if getline('$') == 'DETACH'
$del
endif
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, '$'))
bwipe! bwipe!
finally finally

View File

@@ -748,6 +748,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 */
/**/
1635,
/**/ /**/
1634, 1634,
/**/ /**/