Files
neovim/test/unit/fixtures/multiqueue.c
dundargoc 353a4be7e8 build: remove PVS
We already have an extensive suite of static analysis tools we use,
which causes a fair bit of redundancy as we get duplicate warnings. PVS
is also prone to give false warnings which creates a lot of work to
identify and disable.
2023-11-12 21:26:39 +01:00

17 lines
316 B
C

#include <string.h>
#include <stdlib.h>
#include "nvim/event/multiqueue.h"
#include "multiqueue.h"
void ut_multiqueue_put(MultiQueue *self, const char *str)
{
multiqueue_put(self, NULL, 1, str);
}
const char *ut_multiqueue_get(MultiQueue *self)
{
Event event = multiqueue_get(self);
return event.argv[0];
}