]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1008: tests: test for patch 9.1.1006 doesn't fail without the patch v9.1.1008
authorzeertzjq <zeertzjq@outlook.com>
Sun, 12 Jan 2025 08:32:27 +0000 (09:32 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 12 Jan 2025 08:32:27 +0000 (09:32 +0100)
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>
src/testdir/test_popup.vim
src/version.c

index 08b9cd9ca93242e231b944f1e3287a5a0d591e12..d4d1c2fed7f7d2b93316b05a3cc24cb64842a7c5 100644 (file)
@@ -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)
index 45fcbd3a39d622fc5c104fad99e1e4b5dd9529e8..858034e6eaaac51f2c9d3bf6b5a8ae57008579f8 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1008,
 /**/
     1007,
 /**/