]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1506: tests: missing cleanup in Test_search_cmdline_incsearch_highlight() v9.1.1506
authorzeertzjq <zeertzjq@outlook.com>
Thu, 3 Jul 2025 18:02:02 +0000 (20:02 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 3 Jul 2025 18:02:02 +0000 (20:02 +0200)
Problem:  tests: missing cleanup test_override('char_avail', 0) in
          Test_search_cmdline_incsearch_highlight().
Solution: Add the missing cleanup (zeertzjq).

closes: #17655

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_search.vim
src/version.c

index 8ec513e0348a7c88cb2ed3969785211073563dac..446d5ecd3ac9afe814e2ecdb1c2c5cc94be716ce 100644 (file)
@@ -843,6 +843,7 @@ func Test_search_cmdline_incsearch_highlight()
 
   " clean up
   set noincsearch nohlsearch
+  call test_override("char_avail", 0)
   bw!
 endfunc
 
index 48d9a44fe1ec4d5a40e214697de2844aef78f8ef..d5a882da6bb6062d437cc0148b58f970d1c6ee23 100644 (file)
@@ -719,6 +719,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1506,
 /**/
     1505,
 /**/