aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_messages.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_messages.vim b/src/nvim/testdir/test_messages.vim
index 7c6af32e82..82c4cc128b 100644
--- a/src/nvim/testdir/test_messages.vim
+++ b/src/nvim/testdir/test_messages.vim
@@ -151,12 +151,13 @@ func Test_fileinfo_after_echo()
hide buffer a.txt
- set updatetime=1
- autocmd CursorHold * b b.txt | w | echo "'b' written"
+ autocmd CursorHold * buf b.txt | w | echo "'b' written"
END
call writefile(content, 'Xtest_fileinfo_after_echo')
let buf = RunVimInTerminal('-S Xtest_fileinfo_after_echo', #{rows: 6})
+ call term_sendkeys(buf, ":set updatetime=50\<CR>")
+ call term_sendkeys(buf, "0$")
call VerifyScreenDump(buf, 'Test_fileinfo_after_echo', {})
call term_sendkeys(buf, ":q\<CR>")