Skip to content

Commit 8da4181

Browse files
committed
patch 8.1.1601: missing changes to popup window test file
Problem: Missing changes to popup window test file. Solution: Add those changes.
1 parent 4cd583c commit 8da4181

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/testdir/test_popupwin.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,6 +1423,8 @@ func Test_popup_scrollbar()
14231423

14241424
let lines =<< trim END
14251425
call setline(1, range(1, 20))
1426+
hi ScrollThumb ctermbg=blue
1427+
hi ScrollBar ctermbg=red
14261428
let winid = popup_create(['one', 'two', 'three', 'four', 'five',
14271429
\ 'six', 'seven', 'eight', 'nine'], {
14281430
\ 'minwidth': 8,
@@ -1449,6 +1451,7 @@ func Test_popup_scrollbar()
14491451
call term_sendkeys(buf, ":call popup_setoptions(winid, {'firstline': 9})\<CR>")
14501452
call VerifyScreenDump(buf, 'Test_popupwin_scroll_4', {})
14511453

1454+
call term_sendkeys(buf, ":call popup_setoptions(winid, {'scrollbarhighlight': 'ScrollBar', 'thumbhighlight': 'ScrollThumb'})\<CR>")
14521455
call term_sendkeys(buf, ":call ScrollUp()\<CR>")
14531456
call VerifyScreenDump(buf, 'Test_popupwin_scroll_5', {})
14541457

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,8 @@ static char *(features[]) =
777777

778778
static int included_patches[] =
779779
{ /* Add new patch number below this line */
780+
/**/
781+
1601,
780782
/**/
781783
1600,
782784
/**/

0 commit comments

Comments
 (0)