diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-11-02 16:58:00 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-11-02 16:58:00 +0100 |
commit | 3e1c617d49224038a820ee2c552ebe31a84aaa89 (patch) | |
tree | b05d5e0c2b1e6d38b14796cd5329b5d827785470 /src/testdir/test_netbeans.vim | |
parent | b94340c04f524482b408543daa1142f883831cab (diff) | |
download | vim-git-3e1c617d49224038a820ee2c552ebe31a84aaa89.tar.gz |
patch 8.0.1245: when WaitFor() has a wrong expression it just waits a secondv8.0.1245
Problem: When WaitFor() has a wrong expression it just waits a second,
which goes unnoticed. (James McCoy)
Solution: When WaitFor() times out throw an exception. Fix places where the
expression was wrong.
Diffstat (limited to 'src/testdir/test_netbeans.vim')
-rw-r--r-- | src/testdir/test_netbeans.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_netbeans.vim b/src/testdir/test_netbeans.vim index 7bffeb215..4ac03db6f 100644 --- a/src/testdir/test_netbeans.vim +++ b/src/testdir/test_netbeans.vim @@ -27,7 +27,7 @@ func Nb_basic(port) " Opening README.txt will result in a setDot command call WaitFor('len(readfile("Xnetbeans")) > 4') - call WaitFor('getcurpos()[1] == 2') + call WaitFor('getcurpos()[1] == 3') let pos = getcurpos() call assert_equal(3, pos[1]) call assert_equal(20, pos[2]) |