summaryrefslogtreecommitdiff
path: root/src/testdir/test_popupwin.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_popupwin.vim')
-rw-r--r--src/testdir/test_popupwin.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim
index 654501b29..ebcc1f414 100644
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -2804,6 +2804,12 @@ func Test_previewpopup()
call term_sendkeys(buf, ":\<CR>")
call VerifyScreenDump(buf, 'Test_popupwin_previewpopup_8', {})
+ call term_sendkeys(buf, "\<C-W>p")
+ call VerifyScreenDump(buf, 'Test_popupwin_previewpopup_9', {})
+
+ call term_sendkeys(buf, ":call win_execute(popup_findpreview(), 'call popup_clear()')\<CR>")
+ call VerifyScreenDump(buf, 'Test_popupwin_previewpopup_10', {})
+
call StopVimInTerminal(buf)
call delete('Xtags')
call delete('Xtagfile')