patch 7.4.2108
Problem: Netbeans test is flaky.
Solution: Wait for the cursor to be positioned.
diff --git a/src/testdir/test_netbeans.vim b/src/testdir/test_netbeans.vim
index 240271e..97c3e79 100644
--- a/src/testdir/test_netbeans.vim
+++ b/src/testdir/test_netbeans.vim
@@ -27,6 +27,7 @@
" 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])