0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 7.4.1916

Problem:    No proper test for what 7.4.1906 fixes.
Solution:   Add a test for reading many lines.
This commit is contained in:
Bram Moolenaar
2016-06-10 23:02:56 +02:00
parent 2a67ed83a8
commit b8aefa46ad
2 changed files with 16 additions and 0 deletions

View File

@@ -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.

View File

@@ -753,6 +753,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1916,
/**/
1915,
/**/