mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
test: silence expected errors
This will remove unrelated errors in .nvimlog at the end of test output.
This commit is contained in:
@@ -35,7 +35,7 @@ static kvec_t(DecorProvider) decor_providers = KV_INITIAL_VALUE;
|
||||
static void decor_provider_error(DecorProvider *provider, const char *name, const char *msg)
|
||||
{
|
||||
const char *ns_name = describe_ns(provider->ns_id, "(UNKNOWN PLUGIN)");
|
||||
ELOG("error in provider %s.%s: %s", ns_name, name, msg);
|
||||
ILOG("error in provider %s.%s: %s", ns_name, name, msg);
|
||||
msg_schedule_semsg_multiline("Error in decoration provider %s.%s:\n%s", ns_name, name, msg);
|
||||
}
|
||||
|
||||
|
@@ -90,7 +90,7 @@ int libuv_process_spawn(LibuvProcess *uvproc)
|
||||
|
||||
int status;
|
||||
if ((status = uv_spawn(&proc->loop->uv, &uvproc->uv, &uvproc->uvopts))) {
|
||||
ELOG("uv_spawn(%s) failed: %s", uvproc->uvopts.file, uv_strerror(status));
|
||||
DLOG("uv_spawn(%s) failed: %s", uvproc->uvopts.file, uv_strerror(status));
|
||||
if (uvproc->uvopts.env) {
|
||||
os_free_fullenv(uvproc->uvopts.env);
|
||||
}
|
||||
|
@@ -339,7 +339,7 @@ static void parse_msgpack(Channel *channel)
|
||||
}
|
||||
|
||||
if (unpacker_closed(p)) {
|
||||
chan_close_with_error(channel, p->unpack_error.msg, LOGLVL_ERR);
|
||||
chan_close_with_error(channel, p->unpack_error.msg, LOGLVL_INF);
|
||||
api_clear_error(&p->unpack_error);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user