summaryrefslogtreecommitdiffstats
path: root/src/clientserver.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-03-21 20:40:35 +0000
committerBram Moolenaar <Bram@vim.org>2022-03-21 20:40:35 +0000
commite18acb02bb58b2e07f3a52ce619752ba39c05ea2 (patch)
tree16643a0c52d6d695791751ecd7e45b23ba479049 /src/clientserver.c
parent6d877fe0181bdaf382bfc87898e1ddf6e3c78e66 (diff)
patch 8.2.4606: test fails because of changed error messagev8.2.4606
Problem: Test fails because of changed error message. Solution: Update the expected error message
Diffstat (limited to 'src/clientserver.c')
-rw-r--r--src/clientserver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clientserver.c b/src/clientserver.c
index caa6fdc668..15e490fd50 100644
--- a/src/clientserver.c
+++ b/src/clientserver.c
@@ -794,6 +794,7 @@ f_remote_expr(typval_T *argvars UNUSED, typval_T *rettv)
rettv->v_type = VAR_STRING;
rettv->vval.v_string = NULL;
+#ifdef FEAT_CLIENTSERVER
if (in_vim9script()
&& (check_for_string_arg(argvars, 0) == FAIL
|| check_for_string_arg(argvars, 1) == FAIL
@@ -802,7 +803,6 @@ f_remote_expr(typval_T *argvars UNUSED, typval_T *rettv)
&& check_for_opt_number_arg(argvars, 3) == FAIL)))
return;
-#ifdef FEAT_CLIENTSERVER
remote_common(argvars, rettv, TRUE);
#endif
}
@@ -945,13 +945,13 @@ f_remote_send(typval_T *argvars UNUSED, typval_T *rettv)
rettv->v_type = VAR_STRING;
rettv->vval.v_string = NULL;
+#ifdef FEAT_CLIENTSERVER
if (in_vim9script()
&& (check_for_string_arg(argvars, 0) == FAIL
|| check_for_string_arg(argvars, 1) == FAIL
|| check_for_opt_string_arg(argvars, 2) == FAIL))
return;
-#ifdef FEAT_CLIENTSERVER
remote_common(argvars, rettv, FALSE);
#endif
}