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 - [email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui