changeset 19803:71911b1dc3f9 v8.2.0458

patch 8.2.0458: missing feature check in test function Commit: https://github.com/vim/vim/commit/bea9023d4260349c130faf447aa8d4cbadeffab2 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 26 22:09:52 2020 +0100 patch 8.2.0458: missing feature check in test function Problem: Missing feature check in test function. Solution: Add check commands.
author Bram Moolenaar <Bram@vim.org>
date Thu, 26 Mar 2020 22:15:04 +0100
parents d99db17de953
children 503120273ab7
files src/testdir/test_excmd.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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")
--- 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,