Mercurial > vim
comparison src/testdir/test_popupwin.vim @ 17182:a47ea7d2fe6d v8.1.1590
patch 8.1.1590: popup window test fails
commit https://github.com/vim/vim/commit/6c6a603cd2db9cbd51c9b4e3ff44cbab72b98592
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 25 05:33:36 2019 +0200
patch 8.1.1590: popup window test fails
Problem: Popup window test fails.
Solution: Add "scrollbar" to expected result.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 25 Jun 2019 05:45:05 +0200 |
parents | 8581779aa16f |
children | 4c009ec23c0a |
comparison
equal
deleted
inserted
replaced
17181:249a79cc1d4a | 17182:a47ea7d2fe6d |
---|---|
132 \ 'core_col': 4, | 132 \ 'core_col': 4, |
133 \ 'width': 14, | 133 \ 'width': 14, |
134 \ 'core_width': 12, | 134 \ 'core_width': 12, |
135 \ 'height': 3, | 135 \ 'height': 3, |
136 \ 'core_height': 1, | 136 \ 'core_height': 1, |
137 \ 'scrollbar': 0, | |
137 \ 'visible': 1} | 138 \ 'visible': 1} |
138 let winid = popup_create('hello border', {'line': 2, 'col': 3, 'border': []})", | 139 let winid = popup_create('hello border', {'line': 2, 'col': 3, 'border': []})", |
139 call assert_equal(with_border_or_padding, popup_getpos(winid)) | 140 call assert_equal(with_border_or_padding, popup_getpos(winid)) |
140 let options = popup_getoptions(winid) | 141 let options = popup_getoptions(winid) |
141 call assert_equal([], options.border) | 142 call assert_equal([], options.border) |
168 \ 'col': 8, | 169 \ 'col': 8, |
169 \ 'core_col': 10, | 170 \ 'core_col': 10, |
170 \ 'width': 14, | 171 \ 'width': 14, |
171 \ 'core_width': 10, | 172 \ 'core_width': 10, |
172 \ 'height': 5, | 173 \ 'height': 5, |
174 \ 'scrollbar': 0, | |
173 \ 'core_height': 1, | 175 \ 'core_height': 1, |
174 \ 'visible': 1}, popup_getpos(winid)) | 176 \ 'visible': 1}, popup_getpos(winid)) |
175 | 177 |
176 call popup_clear() | 178 call popup_clear() |
177 endfunc | 179 endfunc |