Mercurial > vim
comparison src/testdir/test_terminal.vim @ 22920:696364caabea v8.2.2007
patch 8.2.2007: test for insert mode in popup is not reliable
Commit: https://github.com/vim/vim/commit/17ab28daa060c3c263841329e74befb9c6e8b588
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 18 12:24:01 2020 +0100
patch 8.2.2007: test for insert mode in popup is not reliable
Problem: Test for insert mode in popup is not reliable.
Solution: Wait for the popup to disappear. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/7321)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 18 Nov 2020 12:30:03 +0100 |
parents | a7c1a92bd13c |
children | 1456b8e4d489 |
comparison
equal
deleted
inserted
replaced
22919:554649276254 | 22920:696364caabea |
---|---|
1264 call feedkeys("i\<F3>") | 1264 call feedkeys("i\<F3>") |
1265 sleep 10m | 1265 sleep 10m |
1266 call assert_equal('n', mode()) | 1266 call assert_equal('n', mode()) |
1267 | 1267 |
1268 call feedkeys("\<C-D>", 'xt') | 1268 call feedkeys("\<C-D>", 'xt') |
1269 sleep 50m | 1269 call WaitFor({-> popup_list() == []}) |
1270 delfunc StartTermInPopup | 1270 delfunc StartTermInPopup |
1271 iunmap <F3> | 1271 iunmap <F3> |
1272 endfunc | 1272 endfunc |
1273 | 1273 |
1274 func Check_dump01(off) | 1274 func Check_dump01(off) |