]> granicus.if.org Git - vim/commitdiff
patch 8.2.0242: preview popup window test fails with long directory name v8.2.0242
authorBram Moolenaar <Bram@vim.org>
Tue, 11 Feb 2020 20:44:17 +0000 (21:44 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 11 Feb 2020 20:44:17 +0000 (21:44 +0100)
Problem:    Preview popup window test fails with long directory name. (Jakub
            Kądziołka)
Solution:   Use "silent cd". (closes #5615)

src/testdir/test_popupwin.vim
src/version.c

index ad5a8086117d85cd9797dad2919723973657eff2..d331263e3f819a4a736c9e7c7a32a051020f736a 100644 (file)
@@ -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>")
index f9ddda4044cf02ebb5bcb9d8cc78fdb73697c775..9b9f4126174af0a5cb496db4a3fb51c67dfeea7a 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    242,
 /**/
     241,
 /**/