aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-11-19 23:46:31 -0500
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-11-19 23:46:38 -0500
commit54a586736bab4a657b1457c59d1c0959f009687d (patch)
tree119d8c1e81e8e23fd016b37199fe5fe3be5b0699
parent3c228e8935ab39f9c63f9e32152cb3d2b4bce543 (diff)
downloadrneovim-54a586736bab4a657b1457c59d1c0959f009687d.tar.gz
rneovim-54a586736bab4a657b1457c59d1c0959f009687d.tar.bz2
rneovim-54a586736bab4a657b1457c59d1c0959f009687d.zip
vim-patch:8.0.1171: popup test is still a bit flaky
Problem: Popup test is still a bit flaky. Solution: Change term_wait() calls. (Ozaki Kiichi) https://github.com/vim/vim/commit/712549e04eddd6687c4b7654ec9af6da6c365603
-rw-r--r--src/nvim/testdir/test_popup.vim3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_popup.vim b/src/nvim/testdir/test_popup.vim
index b8f7ac0459..c9cd04018c 100644
--- a/src/nvim/testdir/test_popup.vim
+++ b/src/nvim/testdir/test_popup.vim
@@ -677,9 +677,8 @@ func Test_popup_and_window_resize()
endif
let g:buf = term_start([$NVIM_PRG, '--clean', '-c', 'set noswapfile'], {'term_rows': h / 3})
call term_sendkeys(g:buf, (h / 3 - 1)."o\<esc>G")
- call term_wait(g:buf, 100)
call term_sendkeys(g:buf, "i\<c-x>")
- call term_wait(g:buf, 100)
+ call term_wait(g:buf, 200)
call term_sendkeys(g:buf, "\<c-v>")
call term_wait(g:buf, 100)
" popup first entry "!" must be at the top