0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 8.2.0458: missing feature check in test function

Problem:    Missing feature check in test function.
Solution:   Add check commands.
This commit is contained in:
Bram Moolenaar
2020-03-26 22:09:52 +01:00
parent 26bde6e2eb
commit bea9023d42
2 changed files with 5 additions and 0 deletions

View File

@@ -247,6 +247,9 @@ func Test_confirm_cmd()
endfunc
func Test_confirm_cmd_cancel()
CheckNotGui
CheckRunVimInTerminal
" Test for closing a window with a modified buffer
let buf = RunVimInTerminal('', {'rows': 20})
call term_sendkeys(buf, ":set nomore\n")

View File

@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
458,
/**/
457,
/**/