diff options
author | h-east <h.east.727@gmail.com> | 2023-05-01 22:36:56 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-05-01 22:36:56 +0100 |
commit | 17b695190d63b2de745499cb40a383c2672e275e (patch) | |
tree | d67dc346d6b708c36027ead4a30545c90244406c /src/testdir/test_clientserver.vim | |
parent | 2dcfe9ae1df61e1249520ed435dd8cf60e157103 (diff) |
patch 9.0.1504: no error when calling remote_startserver("")v9.0.1504
Problem: No error when calling remote_startserver() with an empty string.
Solution: Give an error for an empty string. (Hirohito Higashi,
closes #12327)
Diffstat (limited to 'src/testdir/test_clientserver.vim')
-rw-r--r-- | src/testdir/test_clientserver.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/test_clientserver.vim b/src/testdir/test_clientserver.vim index 64c9ab8e81..53947f410b 100644 --- a/src/testdir/test_clientserver.vim +++ b/src/testdir/test_clientserver.vim @@ -182,7 +182,8 @@ func Test_client_server() endif endtry - call assert_fails('call remote_startserver([])', 'E730:') + call assert_fails('call remote_startserver("")', 'E1175:') + call assert_fails('call remote_startserver([])', 'E1174:') call assert_fails("let x = remote_peek([])", 'E730:') call assert_fails("let x = remote_read('vim10')", \ has('unix') ? ['E573:.*vim10'] : 'E277:') |