Mercurial > vim
diff src/testdir/test_netbeans.vim @ 9663:27d3250c6dd4 v7.4.2108
commit https://github.com/vim/vim/commit/adfc5c2f9cf8032e496fcd4793d829768bd6d0a7
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 27 22:56:48 2016 +0200
patch 7.4.2108
Problem: Netbeans test is flaky.
Solution: Wait for the cursor to be positioned.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 27 Jul 2016 23:00:07 +0200 |
parents | 20e7be5d99ac |
children | c2968473c8dc |
line wrap: on
line diff
--- 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])