test(remote): add tests for --remote

This also fixes a fair number of issues found in running the tests
This commit is contained in:
Charlie Groves
2022-02-24 10:47:41 -05:00
parent 70d2ab1583
commit 039e94f491
4 changed files with 184 additions and 48 deletions

View File

@@ -1997,7 +1997,7 @@ Array nvim_get_proc_children(Integer pid, Error *err)
DLOG("fallback to vim._os_proc_children()");
Array a = ARRAY_DICT_INIT;
ADD(a, INTEGER_OBJ(pid));
String s = cstr_to_string("return vim._os_proc_children(select(...))");
String s = cstr_to_string("return vim._os_proc_children(...)");
Object o = nlua_exec(s, a, err);
api_free_string(s);
api_free_array(a);