aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_clientserver.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-05 14:17:06 +0800
committerGitHub <noreply@github.com>2022-11-05 14:17:06 +0800
commit86fe2c8d94d212af098002ce04c87fb73fdf9c52 (patch)
treef48445ed4f2cb998a56ef56709ef4a87c8411e0d /src/nvim/testdir/test_clientserver.vim
parenta86295cd5c2bf15a11eb05e226fd8e226154f6a6 (diff)
parent6956971ec790e636b16eeaec798c826515da9834 (diff)
downloadrneovim-86fe2c8d94d212af098002ce04c87fb73fdf9c52.tar.gz
rneovim-86fe2c8d94d212af098002ce04c87fb73fdf9c52.tar.bz2
rneovim-86fe2c8d94d212af098002ce04c87fb73fdf9c52.zip
Merge pull request #20941 from zeertzjq/vim-8.2.1183
vim-patch:8.2.{partial:1183,1184,1199,1479,1484,1631,1632}: assert_fails() patches
Diffstat (limited to 'src/nvim/testdir/test_clientserver.vim')
-rw-r--r--src/nvim/testdir/test_clientserver.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_clientserver.vim b/src/nvim/testdir/test_clientserver.vim
index 301dad8341..19a92dce3c 100644
--- a/src/nvim/testdir/test_clientserver.vim
+++ b/src/nvim/testdir/test_clientserver.vim
@@ -102,7 +102,7 @@ func Test_client_server()
call remote_send(v:servername, ":let g:testvar2 = 75\<CR>")
call feedkeys('', 'x')
call assert_equal(75, g:testvar2)
- call assert_fails('let v = remote_expr(v:servername, "/2")', 'E449:')
+ call assert_fails('let v = remote_expr(v:servername, "/2")', ['E15:.*/2'])
call remote_send(name, ":call server2client(expand('<client>'), 'got it')\<CR>", 'g:myserverid')
call assert_equal('got it', g:myserverid->remote_read(2))
@@ -184,8 +184,8 @@ func Test_client_server()
call assert_fails('call remote_startserver([])', 'E730:')
call assert_fails("let x = remote_peek([])", 'E730:')
- call assert_fails("let x = remote_read('vim10')", 'E277:')
- call assert_fails("call server2client('abc', 'xyz')", 'E258:')
+ call assert_fails("let x = remote_read('vim10')", ['E573:.*vim10'])
+ call assert_fails("call server2client('abc', 'xyz')", ['E573:.*abc'])
endfunc
" Uncomment this line to get a debugging log