Mercurial > vim
changeset 19368:fcd5a2acbb3d v8.2.0242
patch 8.2.0242: preview popup window test fails with long directory name
Commit: https://github.com/vim/vim/commit/799439a5d85a7d45eff7485056f2798cea766300
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 11 21:44:17 2020 +0100
patch 8.2.0242: preview popup window test fails with long directory name
Problem: Preview popup window test fails with long directory name. (Jakub
K?dzio?ka)
Solution: Use "silent cd". (closes #5615)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 11 Feb 2020 21:45:07 +0100 |
parents | c2ca0cc9c6e0 |
children | 05c259d4233d |
files | src/testdir/test_popupwin.vim src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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>")