From: Bram Moolenaar Date: Fri, 10 Jun 2016 21:02:56 +0000 (+0200) Subject: patch 7.4.1916 X-Git-Tag: v7.4.1916 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8aefa46adf5e825118716e142fab7ef32076475;p=vim patch 7.4.1916 Problem: No proper test for what 7.4.1906 fixes. Solution: Add a test for reading many lines. --- diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim index d65e528b7..9d68a14cc 100644 --- a/src/testdir/test_channel.vim +++ b/src/testdir/test_channel.vim @@ -1335,6 +1335,20 @@ func Test_using_freed_memory() call test_garbagecollect_now() endfunc +func Test_collapse_buffers() + if !executable('cat') + return + endif + sp test_channel.vim + let g:linecount = line('$') + close + split testout + 1,$delete + call job_start('cat test_channel.vim', {'out_io': 'buffer', 'out_name': 'testout'}) + call s:waitFor('line("$") > g:linecount') + call assert_true(line('$') > g:linecount) + bwipe! +endfunc " Uncomment this to see what happens, output is in src/testdir/channellog. diff --git a/src/version.c b/src/version.c index 1acd1e4cb..dfeee7256 100644 --- a/src/version.c +++ b/src/version.c @@ -753,6 +753,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1916, /**/ 1915, /**/