1
0
forked from aniani/vim

patch 8.1.1590: popup window test fails

Problem:    Popup window test fails.
Solution:   Add "scrollbar" to expected result.
This commit is contained in:
Bram Moolenaar
2019-06-25 05:33:36 +02:00
parent 75fb0854e9
commit 6c6a603cd2
2 changed files with 4 additions and 0 deletions

View File

@@ -134,6 +134,7 @@ func Test_popup_with_border_and_padding()
\ 'core_width': 12,
\ 'height': 3,
\ 'core_height': 1,
\ 'scrollbar': 0,
\ 'visible': 1}
let winid = popup_create('hello border', {'line': 2, 'col': 3, 'border': []})",
call assert_equal(with_border_or_padding, popup_getpos(winid))
@@ -170,6 +171,7 @@ func Test_popup_with_border_and_padding()
\ 'width': 14,
\ 'core_width': 10,
\ 'height': 5,
\ 'scrollbar': 0,
\ 'core_height': 1,
\ 'visible': 1}, popup_getpos(winid))

View File

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