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

5 views
Skip to first unread message

Christian Brabandt

unread,
Jan 12, 2025, 3:45:16 AM1/12/25
to vim...@googlegroups.com
patch 9.1.1008: tests: test for patch 9.1.1006 doesn't fail without the patch

Commit: https://github.com/vim/vim/commit/faf250c9e4f6f9fa5db38d9373735e77ba438a90
Author: zeertzjq <zeer...@outlook.com>
Date: Sun Jan 12 09:32:27 2025 +0100

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 <zeer...@outlook.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_popup.vim b/src/testdir/test_popup.vim
index 08b9cd9ca..d4d1c2fed 100644
--- a/src/testdir/test_popup.vim
+++ b/src/testdir/test_popup.vim
@@ -1513,9 +1513,9 @@ func Test_pum_highlights_match()
call VerifyScreenDump(buf, 'Test_pum_highlights_15', {})
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 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, "S\<C-X>\<C-O>")
call TermWait(buf, 50)
diff --git a/src/version.c b/src/version.c
index 45fcbd3a3..858034e6e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1008,
/**/
1007,
/**/
Reply all
Reply to author
Forward
0 new messages