Mercurial > vim
diff src/testdir/runtest.vim @ 20386:3b3589275ab9 v8.2.0748
patch 8.2.0748: cannot get a list of all popups
Commit: https://github.com/vim/vim/commit/ef6b979bfae82f64781d8b0ce0194c57111243d4
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 13 16:34:15 2020 +0200
patch 8.2.0748: cannot get a list of all popups
Problem: Cannot get a list of all popups.
Solution: Add popup_list(). Use it in the test runner.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 13 May 2020 16:45:05 +0200 |
parents | 42ab4d40e78f |
children | ed35c81bce77 |
line wrap: on
line diff
--- 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