summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-26 22:09:52 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-26 22:09:52 +0100
commitbea9023d4260349c130faf447aa8d4cbadeffab2 (patch)
tree92303d7e4c5e7272b1fe53413e9cb75cfaeea256
parent26bde6e2eb307898ab7ed42bf8e7e2ccde979e02 (diff)
downloadvim-git-8.2.0458.tar.gz
patch 8.2.0458: missing feature check in test functionv8.2.0458
Problem: Missing feature check in test function. Solution: Add check commands.
-rw-r--r--src/testdir/test_excmd.vim3
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/testdir/test_excmd.vim b/src/testdir/test_excmd.vim
index 755099c4e..ec252a660 100644
--- a/src/testdir/test_excmd.vim
+++ b/src/testdir/test_excmd.vim
@@ -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")
diff --git a/src/version.c b/src/version.c
index 4ae2b516d..46b58c2b2 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 458,
+/**/
457,
/**/
456,