Skip to content

Commit 7e0f462

Browse files
committed
patch 8.1.2050: popup window test fails in some configurations
Problem: Popup window test fails in some configurations. (James McCoy) Solution: Clear the command line.
1 parent 397c6a1 commit 7e0f462

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/testdir/dumps/Test_popupwin_scroll_10.dump

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
|7| @31|║+0#0000001#ffd7ff255|n|i|n|e| | +0#0000000#4040ff13|║+0#0000001#ffd7ff255| +0#0000000#ffffff0@33
88
|8| @31|╚+0#0000001#ffd7ff255|═@5|╝| +0#0000000#ffffff0@33
99
|9| @73
10-
|:|c|a|l@1| |p|o|p|u|p|_|s|e|t|o|p|t|i|o|n|s|(|w|i|n|i|d|,| |#|{|m|a|x|h|e|i|g|h|t|:| |0|,| |m|i|n|w|i|d|t|h|:| |0|1|,|1| @10|T|o|p|
10+
|:| @55|1|,|1| @10|T|o|p|

src/testdir/test_popupwin.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,6 +1764,7 @@ func Test_popup_scrollbar()
17641764

17651765
" remove the minwidth and maxheight
17661766
call term_sendkeys(buf, ":call popup_setoptions(winid, #{maxheight: 0, minwidth: 0})\<CR>")
1767+
call term_sendkeys(buf, ":\<CR>")
17671768
call VerifyScreenDump(buf, 'Test_popupwin_scroll_10', {})
17681769

17691770
" clean up

src/version.c

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

758758
static int included_patches[] =
759759
{ /* Add new patch number below this line */
760+
/**/
761+
2050,
760762
/**/
761763
2049,
762764
/**/

0 commit comments

Comments
 (0)