]> granicus.if.org Git - vim/commitdiff
patch 9.0.1032: test fails when terminal feature is missing v9.0.1032
authorBram Moolenaar <Bram@vim.org>
Thu, 8 Dec 2022 15:44:22 +0000 (15:44 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 8 Dec 2022 15:44:22 +0000 (15:44 +0000)
Problem:    Test fails when terminal feature is missing.
Solution:   Use CheckRunVimInTerminal.

src/testdir/test_cmdline.vim
src/version.c

index 28f845a9ad028a23a3f1b35965564a1f59c30f47..78f9ba22bfb6e27ec5b74757cc3f847aba689c1e 100644 (file)
@@ -2486,6 +2486,8 @@ func Test_wildmenu_pum_from_terminal()
 endfunc
 
 func Test_wildmenu_pum_clear_entries()
+  CheckRunVimInTerminal
+
   " This was using freed memory.  Run in a terminal to get the pum to update.
   let lines =<< trim END
     set wildoptions=pum
index 18187cd6d10f0a74348b7da232ef911595e95699..a209733af71eccfdff2f145c35fc55f2e40a7784 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1032,
 /**/
     1031,
 /**/