From ee4e0c1e9a81cb5d96e0060203a9033c2f28588e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 6 Apr 2020 21:35:05 +0200 Subject: patch 8.2.0522: several errors are not tested for Problem: Several errors are not tested for. Solution: Add tests. (Yegappan Lakshmanan, closes #5892) --- src/testdir/test_clientserver.vim | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/testdir/test_clientserver.vim') diff --git a/src/testdir/test_clientserver.vim b/src/testdir/test_clientserver.vim index 8a333aa908..7936227eb4 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 -- cgit v1.2.3