diff src/testdir/test_clientserver.vim @ 32345:2fee2d1b498e v9.0.1504

patch 9.0.1504: no error when calling remote_startserver("") Commit: https://github.com/vim/vim/commit/17b695190d63b2de745499cb40a383c2672e275e Author: h-east <h.east.727@gmail.com> Date: Mon May 1 22:36:56 2023 +0100 patch 9.0.1504: no error when calling remote_startserver("") Problem: No error when calling remote_startserver() with an empty string. Solution: Give an error for an empty string. (Hirohito Higashi, closes #12327)
author Bram Moolenaar <Bram@vim.org>
date Mon, 01 May 2023 23:45:05 +0200
parents 98f5a0618a77
children 448aef880252
line wrap: on
line diff
--- 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:')