changeset 17204:1a6ccc91ed46 v8.1.1601

patch 8.1.1601: missing changes to popup window test file commit https://github.com/vim/vim/commit/8da41816316f17382817df3f9449b55df8d39651 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 26 18:04:54 2019 +0200 patch 8.1.1601: missing changes to popup window test file Problem: Missing changes to popup window test file. Solution: Add those changes.
author Bram Moolenaar <Bram@vim.org>
date Wed, 26 Jun 2019 18:15:05 +0200
parents 75a3120aee8e
children 669885fa1421
files src/testdir/test_popupwin.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -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', {})
 
--- a/src/version.c
+++ b/src/version.c
@@ -778,6 +778,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1601,
+/**/
     1600,
 /**/
     1599,