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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui