patch 9.1.1506: tests: missing cleanup in Test_search_cmdline_incsearch_highlight()

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>
This commit is contained in:
zeertzjq
2025-07-03 20:02:02 +02:00
committed by Christian Brabandt
parent 5d2354fc07
commit 29b29c6b30
2 changed files with 3 additions and 0 deletions

View File

@ -843,6 +843,7 @@ func Test_search_cmdline_incsearch_highlight()
" clean up
set noincsearch nohlsearch
call test_override("char_avail", 0)
bw!
endfunc

View File

@ -719,6 +719,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1506,
/**/
1505,
/**/