aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_clientserver.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-10-27 05:57:07 +0800
committerGitHub <noreply@github.com>2022-10-27 05:57:07 +0800
commitfef8ff90887ff16345469d93b64a2a351d9e85ee (patch)
treee0a6ea84d87d1dbcd832c5576f9208a1eb00239f /src/nvim/testdir/test_clientserver.vim
parenta8d454816ad14e05578d37d1e16c34d8207fde19 (diff)
parent514e6bf07b6b0fe08019906b56d1226a70d14119 (diff)
downloadrneovim-fef8ff90887ff16345469d93b64a2a351d9e85ee.tar.gz
rneovim-fef8ff90887ff16345469d93b64a2a351d9e85ee.tar.bz2
rneovim-fef8ff90887ff16345469d93b64a2a351d9e85ee.zip
Merge pull request #20818 from zeertzjq/vim-8.2.0531
vim-patch:8.2.{0531,0534,0606,1113}: various tests
Diffstat (limited to 'src/nvim/testdir/test_clientserver.vim')
-rw-r--r--src/nvim/testdir/test_clientserver.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_clientserver.vim b/src/nvim/testdir/test_clientserver.vim
index a4ebce5af9..943f79d98f 100644
--- a/src/nvim/testdir/test_clientserver.vim
+++ b/src/nvim/testdir/test_clientserver.vim
@@ -147,7 +147,7 @@ func Test_client_server()
" Edit files in separate tab pages
call system(cmd .. ' --remote-tab Xfile1 Xfile2 Xfile3')
- call assert_equal('3', remote_expr(name, 'tabpagenr("$")'))
+ call WaitForAssert({-> assert_equal('3', remote_expr(name, 'tabpagenr("$")'))})
call assert_equal('Xfile2', remote_expr(name, 'bufname(tabpagebuflist(2)[0])'))
eval name->remote_send(":%bw!\<CR>")