forked from aniani/vim
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)
This commit is contained in:
@@ -2821,9 +2821,9 @@ func Test_previewpopup()
|
|||||||
call term_sendkeys(buf, "/another\<CR>\<C-W>}")
|
call term_sendkeys(buf, "/another\<CR>\<C-W>}")
|
||||||
call VerifyScreenDump(buf, 'Test_popupwin_previewpopup_4', {})
|
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 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, ":pclose\<CR>")
|
||||||
call term_sendkeys(buf, ":\<BS>")
|
call term_sendkeys(buf, ":\<BS>")
|
||||||
|
|||||||
@@ -742,6 +742,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
242,
|
||||||
/**/
|
/**/
|
||||||
241,
|
241,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user