# HG changeset patch # User Bram Moolenaar # Date 1565970303 -7200 # Node ID 6a73e3bd0ff89d687e6d66aa756d26d53c82a4d6 # Parent e3882234b527a02673aef61c61d4a77be015390a patch 8.1.1856: popup preview test fails sometimes commit https://github.com/vim/vim/commit/78d629a38548115a68298081d39d6d90708af561 Author: Bram Moolenaar Date: Fri Aug 16 17:31:15 2019 +0200 patch 8.1.1856: popup preview test fails sometimes Problem: popup preview test fails sometimes. (Christian Brabandt) Solution: Clear the command line. diff --git a/src/testdir/dumps/Test_popupwin_previewpopup_6.dump b/src/testdir/dumps/Test_popupwin_previewpopup_6.dump --- a/src/testdir/dumps/Test_popupwin_previewpopup_6.dump +++ b/src/testdir/dumps/Test_popupwin_previewpopup_6.dump @@ -11,4 +11,4 @@ |v|e|r|y| |l|o|n|g| |l|i|n|e| |w|h|e|r|e| |t|h|e| |w|o|r|d| |i|s| |a|l|s|o| >a|n|o|t|h|e|r| @29 |~+0#4040ff13&| @73 |~| @73 -|:+0#0000000&|p|c|l|o|s|e| @49|1@1|,|3|9| @8|A|l@1| +| +0#0000000&@56|1@1|,|3|9| @8|A|l@1| diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim --- a/src/testdir/test_popupwin.vim +++ b/src/testdir/test_popupwin.vim @@ -2173,6 +2173,7 @@ func Test_previewpopup() call term_sendkeys(buf, ":cd testdir\") call term_sendkeys(buf, ":pclose\") + call term_sendkeys(buf, ":\") call VerifyScreenDump(buf, 'Test_popupwin_previewpopup_6', {}) call term_sendkeys(buf, ":pedit +/theword Xtagfile\") diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -770,6 +770,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1856, +/**/ 1855, /**/ 1854,