summaryrefslogtreecommitdiff
path: root/src/testdir/test_suspend.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_suspend.vim')
-rw-r--r--src/testdir/test_suspend.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_suspend.vim b/src/testdir/test_suspend.vim
index ef8fea53e..5175c0f63 100644
--- 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'"