1
0
forked from aniani/vim

patch 7.4.2108

Problem:    Netbeans test is flaky.
Solution:   Wait for the cursor to be positioned.
This commit is contained in:
Bram Moolenaar
2016-07-27 22:56:48 +02:00
parent d955a0971c
commit adfc5c2f9c
2 changed files with 3 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ func Nb_basic(port)
" Opening Makefile will result in a setDot command " Opening Makefile will result in a setDot command
call WaitFor('len(readfile("Xnetbeans")) > 4') call WaitFor('len(readfile("Xnetbeans")) > 4')
call WaitFor('getcurpos()[1] == 2')
let pos = getcurpos() let pos = getcurpos()
call assert_equal(2, pos[1]) call assert_equal(2, pos[1])
call assert_equal(20, pos[2]) call assert_equal(20, pos[2])

View File

@@ -758,6 +758,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2108,
/**/ /**/
2107, 2107,
/**/ /**/