diff src/testdir/test_popupwin.vim @ 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 9c3347b21b89
children e6c83ae0c4d0
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