patch 9.1.1008: tests: test for patch 9.1.1006 doesn't fail without the patch

Problem:  tests: test for patch 9.1.1006 doesn't fail without the patch
          (after v9.1.1006)
Solution: Add ctermbg=NONE to the highlight groups (zeertzjq).

closes: #16425

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2025-01-12 09:32:27 +01:00
committed by Christian Brabandt
parent 8cbe2e0a0a
commit faf250c9e4
2 changed files with 4 additions and 2 deletions

View File

@ -1513,9 +1513,9 @@ func Test_pum_highlights_match()
call VerifyScreenDump(buf, 'Test_pum_highlights_15', {}) call VerifyScreenDump(buf, 'Test_pum_highlights_15', {})
call term_sendkeys(buf, "\<C-E>\<Esc>") call term_sendkeys(buf, "\<C-E>\<Esc>")
call term_sendkeys(buf, ":hi PmenuMatchSel ctermfg=14\<CR>") call term_sendkeys(buf, ":hi PmenuMatchSel ctermfg=14 ctermbg=NONE\<CR>")
call TermWait(buf, 50) call TermWait(buf, 50)
call term_sendkeys(buf, ":hi PmenuMatch ctermfg=12\<CR>") call term_sendkeys(buf, ":hi PmenuMatch ctermfg=12 ctermbg=NONE\<CR>")
call term_sendkeys(buf, ":set cot=menu,noinsert,fuzzy\<CR>") call term_sendkeys(buf, ":set cot=menu,noinsert,fuzzy\<CR>")
call term_sendkeys(buf, "S\<C-X>\<C-O>") call term_sendkeys(buf, "S\<C-X>\<C-O>")
call TermWait(buf, 50) call TermWait(buf, 50)

View File

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