diff src/testdir/test_suspend.vim @ 31377:543cb94c6c09 v9.0.1022

patch 9.0.1022: suspend test fails on Mac OS when suspending Vim Commit: https://github.com/vim/vim/commit/af34543b926a8704c3346d41e57a219baa5ca61c Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 6 16:09:52 2022 +0000 patch 9.0.1022: suspend test fails on Mac OS when suspending Vim Problem: Suspend test fails on Mac OS when suspending Vim. Solution: Make 'keyprotocol' empty.
author Bram Moolenaar <Bram@vim.org>
date Tue, 06 Dec 2022 17:15:03 +0100
parents 03da3e28883e
children
line wrap: on
line diff
--- a/src/testdir/test_suspend.vim
+++ b/src/testdir/test_suspend.vim
@@ -34,7 +34,7 @@ func Test_suspend()
 
   call term_sendkeys(buf, v:progpath
         \               . " --clean -X"
-        \               . " -c 'set nu'"
+        \               . " -c 'set nu keyprotocol='"
         \               . " -c 'call setline(1, \"foo\")'"
         \               . " Xfoo\<CR>")
   " Cursor in terminal buffer should be on first line in spawned vim.
@@ -84,7 +84,7 @@ func Test_suspend_autocmd()
 
   call term_sendkeys(buf, v:progpath
         \               . " --clean -X"
-        \               . " -c 'set nu'"
+        \               . " -c 'set nu keyprotocol='"
         \               . " -c 'let g:count = 0'"
         \               . " -c 'au VimSuspend * let g:count += 1'"
         \               . " -c 'au VimResume * let g:count += 1'"