]> granicus.if.org Git - vim/commitdiff
patch 8.2.0458: missing feature check in test function v8.2.0458
authorBram Moolenaar <Bram@vim.org>
Thu, 26 Mar 2020 21:09:52 +0000 (22:09 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 26 Mar 2020 21:09:52 +0000 (22:09 +0100)
Problem:    Missing feature check in test function.
Solution:   Add check commands.

src/testdir/test_excmd.vim
src/version.c

index 755099c4e66c3851d26922af18550dd363a52a59..ec252a660bf442c2947afc9d39a0b6e10a0ca7da 100644 (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")
index 4ae2b516d248c2956dd16057bb673c0faccf07c8..46b58c2b267a5aac5a07f23d8d5382ce01edd62a 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    458,
 /**/
     457,
 /**/