diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-25 23:06:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-25 23:06:40 +0200 |
commit | d2c1fb476d5816db129eb428ffef6a81027eb13a (patch) | |
tree | 56b8c25cb758aa5151633da5a08c5bd38a39f818 | |
parent | f21118e4a9255366bb4c484d2d0428bcba07cfce (diff) | |
download | vim-git-d2c1fb476d5816db129eb428ffef6a81027eb13a.tar.gz |
patch 8.1.2079: popup window test fails without +terminalv8.1.2079
Problem: Popup window test fails without +terminal.
Solution: Check for the +terminal feature.
-rw-r--r-- | src/testdir/test_popupwin.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim index dfdfc13eb..b9d6d8301 100644 --- a/src/testdir/test_popupwin.vim +++ b/src/testdir/test_popupwin.vim @@ -1993,6 +1993,8 @@ func Test_popupwin_with_buffer() endfunc func Test_popupwin_terminal_buffer() + CheckFeature terminal + let ptybuf = term_start(&shell, #{hidden: 1}) call assert_fails('let winnr = popup_create(ptybuf, #{})', 'E278:') exe 'bwipe! ' .. ptybuf diff --git a/src/version.c b/src/version.c index af7ee2394..f7d7ede5f 100644 --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2079, +/**/ 2078, /**/ 2077, |