diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-27 22:56:48 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-27 22:56:48 +0200 |
commit | adfc5c2f9cf8032e496fcd4793d829768bd6d0a7 (patch) | |
tree | ada51f2a07e1c98fd1a22e1625d6b2656dd07a23 /src/testdir/test_netbeans.vim | |
parent | d955a0971cb4207e466ad40e78138d71052e1758 (diff) | |
download | vim-adfc5c2f9cf8032e496fcd4793d829768bd6d0a7.zip |
patch 7.4.2108
Problem: Netbeans test is flaky.
Solution: Wait for the cursor to be positioned.
Diffstat (limited to 'src/testdir/test_netbeans.vim')
-rw-r--r-- | src/testdir/test_netbeans.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_netbeans.vim b/src/testdir/test_netbeans.vim index 240271e7a..97c3e7942 100644 --- a/src/testdir/test_netbeans.vim +++ b/src/testdir/test_netbeans.vim @@ -27,6 +27,7 @@ func Nb_basic(port) " 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]) |