comparison 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
comparison
equal deleted inserted replaced
18167:92c6fc446c6f 18168:781a81bf4d24
1991 call popup_close(winid) 1991 call popup_close(winid)
1992 call delete('XsomeFile') 1992 call delete('XsomeFile')
1993 endfunc 1993 endfunc
1994 1994
1995 func Test_popupwin_terminal_buffer() 1995 func Test_popupwin_terminal_buffer()
1996 CheckFeature terminal
1997
1996 let ptybuf = term_start(&shell, #{hidden: 1}) 1998 let ptybuf = term_start(&shell, #{hidden: 1})
1997 call assert_fails('let winnr = popup_create(ptybuf, #{})', 'E278:') 1999 call assert_fails('let winnr = popup_create(ptybuf, #{})', 'E278:')
1998 exe 'bwipe! ' .. ptybuf 2000 exe 'bwipe! ' .. ptybuf
1999 endfunc 2001 endfunc
2000 2002