]> granicus.if.org Git - vim/commitdiff
patch 8.1.2079: popup window test fails without +terminal v8.1.2079
authorBram Moolenaar <Bram@vim.org>
Wed, 25 Sep 2019 21:06:40 +0000 (23:06 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 25 Sep 2019 21:06:40 +0000 (23:06 +0200)
Problem:    Popup window test fails without +terminal.
Solution:   Check for the +terminal feature.

src/testdir/test_popupwin.vim
src/version.c

index dfdfc13ebb163b939302cf67ad4294299f5f1b8e..b9d6d830199eb1aa253b3083c77c5fc4c7417b29 100644 (file)
@@ -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
index af7ee239423fb983115f2d89eb1d9c392b4dc07b..f7d7ede5ff062083ca1c5e14db4274d4e87fd848 100644 (file)
@@ -757,6 +757,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2079,
 /**/
     2078,
 /**/