summaryrefslogtreecommitdiffstats
path: root/src/testdir/runtest.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-13 13:40:16 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-13 13:40:16 +0200
commit03a9f848175b182372fb33403998059724a8bf31 (patch)
tree473f2bb5d40cffb5821443a2956a6c700c1fff44 /src/testdir/runtest.vim
parentd502aa4c10771ec8eb570345ec5e124c4a4b7cd0 (diff)
patch 8.2.0747: cannot forcefully close all popupsv8.2.0747
Problem: Cannot forcefully close all popups. Solution: Add the "force" argument to popup_clear(). Use it after running a test. Put back the check for a popup when editing a file.
Diffstat (limited to 'src/testdir/runtest.vim')
-rw-r--r--src/testdir/runtest.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim
index 13d4784e4a..b9d85f4bb1 100644
--- a/src/testdir/runtest.vim
+++ b/src/testdir/runtest.vim
@@ -188,9 +188,9 @@ func RunTheTest(test)
au!
au SwapExists * call HandleSwapExists()
- " Close any stray popup windows
+ " Close any stray popup windows.
if has('popupwin')
- call popup_clear()
+ call popup_clear(1)
endif
" Close any extra tab pages and windows and make the current one not modified.