mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -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:
@@ -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.
|
||||
|
@@ -753,6 +753,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1916,
|
||||
/**/
|
||||
1915,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user