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

Function sanity

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

Source from the content-addressed store, hash-verified

225}
226
227static void sanity(void)
228{
229 struct json *j = json_parse(tmpctx, "[]");
230 json_tok_remove(&j->toks, j->toks, j->toks, 0);
231 assert(j);
232}
233
234static void remove_one(void)
235{

Callers 1

mainFunction · 0.70

Calls 2

json_tok_removeFunction · 0.85
json_parseFunction · 0.70

Tested by

no test coverage detected