MCPcopy Create free account
hub / github.com/ElementsProject/lightning / sanity

Function sanity

common/test/run-json_remove.c:258–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258static void sanity(void)
259{
260 struct json *j = json_parse(tmpctx, "[]");
261 json_tok_remove(&j->toks, j->toks, j->toks, 0);
262 assert(j);
263}
264
265static void remove_one(void)
266{

Callers 1

mainFunction · 0.70

Calls 2

json_tok_removeFunction · 0.85
json_parseFunction · 0.70

Tested by

no test coverage detected