From: Bram Moolenaar Date: Thu, 8 Dec 2022 15:44:22 +0000 (+0000) Subject: patch 9.0.1032: test fails when terminal feature is missing X-Git-Tag: v9.0.1032 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9603f6498e5637e111bd1dca0eab88c8dd0f99b;p=vim patch 9.0.1032: test fails when terminal feature is missing Problem: Test fails when terminal feature is missing. Solution: Use CheckRunVimInTerminal. --- diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim index 28f845a9a..78f9ba22b 100644 --- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -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 diff --git a/src/version.c b/src/version.c index 18187cd6d..a209733af 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1032, /**/ 1031, /**/