To: vim_dev@googlegroups.com Subject: Patch 7.4.1916 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1916 (after 7.4.1906) Problem: No proper test for what 7.4.1906 fixes. Solution: Add a test for reading many lines. Files: src/testdir/test_channel.vim *** ../vim-7.4.1915/src/testdir/test_channel.vim 2016-06-05 16:10:49.537012299 +0200 --- src/testdir/test_channel.vim 2016-06-10 23:02:45.498729806 +0200 *************** *** 1335,1340 **** --- 1335,1354 ---- 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. *** ../vim-7.4.1915/src/version.c 2016-06-10 21:52:38.394787678 +0200 --- src/version.c 2016-06-10 23:01:43.522730659 +0200 *************** *** 755,756 **** --- 755,758 ---- { /* Add new patch number below this line */ + /**/ + 1916, /**/ -- From "know your smileys": ;-0 Can't find shift key ,-9 Kann Umschalttaste nicht finden /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///