Re: Patch 7.4.2108

2016-07-27 Fir de Conversatie Hisashi T Fujinaka

On Wed, 27 Jul 2016, Bram Moolenaar wrote:


Patch 7.4.2108
Problem:Netbeans test is flaky.
Solution:   Wait for the cursor to be positioned.
Files:  src/testdir/test_netbeans.vim


*** ../vim-7.4.2107/src/testdir/test_netbeans.vim   2016-07-20 
00:03:14.212934385 +0200
--- src/testdir/test_netbeans.vim   2016-07-27 22:54:40.188107077 +0200
***
*** 27,32 
--- 27,33 

   " Opening Makefile will result in a setDot command
   call WaitFor('len(readfile("Xnetbeans")) > 4')
+   call WaitFor('getcurpos()[1] == 2')
   let pos = getcurpos()
   call assert_equal(2, pos[1])
   call assert_equal(20, pos[2])
*** ../vim-7.4.2107/src/version.c   2016-07-26 22:14:04.457444251 +0200
--- src/version.c   2016-07-27 22:55:40.279533966 +0200
***
*** 760,761 
--- 760,763 
 {   /* Add new patch number below this line */
+ /**/
+ 2108,
 /**/


Thanks Bram! This works on OSX for me.

--
Hisashi T Fujinaka - ht...@twofifty.com
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee

--
--
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Patch 7.4.2108

2016-07-27 Fir de Conversatie Bram Moolenaar

Patch 7.4.2108
Problem:Netbeans test is flaky.
Solution:   Wait for the cursor to be positioned.
Files:  src/testdir/test_netbeans.vim


*** ../vim-7.4.2107/src/testdir/test_netbeans.vim   2016-07-20 
00:03:14.212934385 +0200
--- src/testdir/test_netbeans.vim   2016-07-27 22:54:40.188107077 +0200
***
*** 27,32 
--- 27,33 
  
" Opening Makefile will result in a setDot command
call WaitFor('len(readfile("Xnetbeans")) > 4')
+   call WaitFor('getcurpos()[1] == 2')
let pos = getcurpos()
call assert_equal(2, pos[1])
call assert_equal(20, pos[2])
*** ../vim-7.4.2107/src/version.c   2016-07-26 22:14:04.457444251 +0200
--- src/version.c   2016-07-27 22:55:40.279533966 +0200
***
*** 760,761 
--- 760,763 
  {   /* Add new patch number below this line */
+ /**/
+ 2108,
  /**/

-- 
SIGFUN -- signature too funny (core dumped)

 /// Bram Moolenaar -- b...@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///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.