changeset 18168:781a81bf4d24 v8.1.2079

patch 8.1.2079: popup window test fails without +terminal Commit: https://github.com/vim/vim/commit/d2c1fb476d5816db129eb428ffef6a81027eb13a Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 25 23:06:40 2019 +0200 patch 8.1.2079: popup window test fails without +terminal Problem: Popup window test fails without +terminal. Solution: Check for the +terminal feature.
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Sep 2019 23:15:04 +0200
parents 92c6fc446c6f
children 6ad8949a205d
files src/testdir/test_popupwin.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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,