summaryrefslogtreecommitdiff
path: root/src/testdir/test_clientserver.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-06 21:35:05 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-06 21:35:05 +0200
commitee4e0c1e9a81cb5d96e0060203a9033c2f28588e (patch)
treeb58b410eb33044a0dadc1838e32de62ceb650e5c /src/testdir/test_clientserver.vim
parent15352dc6ec43fd50cc3be4f4fd1ad74d5619da20 (diff)
downloadvim-git-ee4e0c1e9a81cb5d96e0060203a9033c2f28588e.tar.gz
patch 8.2.0522: several errors are not tested forv8.2.0522
Problem: Several errors are not tested for. Solution: Add tests. (Yegappan Lakshmanan, closes #5892)
Diffstat (limited to 'src/testdir/test_clientserver.vim')
-rw-r--r--src/testdir/test_clientserver.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_clientserver.vim b/src/testdir/test_clientserver.vim
index 8a333aa90..7936227eb 100644
--- a/src/testdir/test_clientserver.vim
+++ b/src/testdir/test_clientserver.vim
@@ -2,6 +2,11 @@
source check.vim
CheckFeature job
+
+if !has('clientserver')
+ call assert_fails('call remote_startserver("local")', 'E942:')
+endif
+
CheckFeature clientserver
source shared.vim
@@ -161,6 +166,7 @@ func Test_client_server()
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:')
endfunc
" Uncomment this line to get a debugging log