diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-02-11 21:44:17 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-02-11 21:44:17 +0100 |
commit | 799439a5d85a7d45eff7485056f2798cea766300 (patch) | |
tree | e40c9255e31cb231491e638278f89775afbf9f27 | |
parent | 99234f29aa8767f2e71bb1f5db6ee0131bc8e64e (diff) | |
download | vim-git-799439a5d85a7d45eff7485056f2798cea766300.tar.gz |
patch 8.2.0242: preview popup window test fails with long directory namev8.2.0242
Problem: Preview popup window test fails with long directory name. (Jakub
Kądziołka)
Solution: Use "silent cd". (closes #5615)
-rw-r--r-- | src/testdir/test_popupwin.vim | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim index ad5a80861..d331263e3 100644 --- a/src/testdir/test_popupwin.vim +++ b/src/testdir/test_popupwin.vim @@ -2821,9 +2821,9 @@ func Test_previewpopup() call term_sendkeys(buf, "/another\<CR>\<C-W>}") call VerifyScreenDump(buf, 'Test_popupwin_previewpopup_4', {}) - call term_sendkeys(buf, ":cd ..\<CR>:\<CR>") + call term_sendkeys(buf, ":silent cd ..\<CR>:\<CR>") call VerifyScreenDump(buf, 'Test_popupwin_previewpopup_5', {}) - call term_sendkeys(buf, ":cd testdir\<CR>") + call term_sendkeys(buf, ":silent cd testdir\<CR>") call term_sendkeys(buf, ":pclose\<CR>") call term_sendkeys(buf, ":\<BS>") diff --git a/src/version.c b/src/version.c index f9ddda404..9b9f41261 100644 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 242, +/**/ 241, /**/ 240, |