diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-13 16:34:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-13 16:34:15 +0200 |
commit | ef6b979bfae82f64781d8b0ce0194c57111243d4 (patch) | |
tree | b7f9acb63a9f7ca7fa4881d511ccb7b58ba24053 /src/testdir/runtest.vim | |
parent | 03a9f848175b182372fb33403998059724a8bf31 (diff) | |
download | vim-git-ef6b979bfae82f64781d8b0ce0194c57111243d4.tar.gz |
patch 8.2.0748: cannot get a list of all popupsv8.2.0748
Problem: Cannot get a list of all popups.
Solution: Add popup_list(). Use it in the test runner.
Diffstat (limited to 'src/testdir/runtest.vim')
-rw-r--r-- | src/testdir/runtest.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index b9d85f4bb..b1e05288b 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -188,8 +188,9 @@ func RunTheTest(test) au! au SwapExists * call HandleSwapExists() - " Close any stray popup windows. + " Check for and close any stray popup windows. if has('popupwin') + call assert_equal([], popup_list()) call popup_clear(1) endif |