0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.1.1601: missing changes to popup window test file

Problem:    Missing changes to popup window test file.
Solution:   Add those changes.
This commit is contained in:
Bram Moolenaar 2019-06-26 18:04:54 +02:00
parent 4cd583c6da
commit 8da4181631
2 changed files with 5 additions and 0 deletions

View File

@ -1423,6 +1423,8 @@ func Test_popup_scrollbar()
let lines =<< trim END
call setline(1, range(1, 20))
hi ScrollThumb ctermbg=blue
hi ScrollBar ctermbg=red
let winid = popup_create(['one', 'two', 'three', 'four', 'five',
\ 'six', 'seven', 'eight', 'nine'], {
\ 'minwidth': 8,
@ -1449,6 +1451,7 @@ func Test_popup_scrollbar()
call term_sendkeys(buf, ":call popup_setoptions(winid, {'firstline': 9})\<CR>")
call VerifyScreenDump(buf, 'Test_popupwin_scroll_4', {})
call term_sendkeys(buf, ":call popup_setoptions(winid, {'scrollbarhighlight': 'ScrollBar', 'thumbhighlight': 'ScrollThumb'})\<CR>")
call term_sendkeys(buf, ":call ScrollUp()\<CR>")
call VerifyScreenDump(buf, 'Test_popupwin_scroll_5', {})

View File

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