Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
258
static 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
265
static void remove_one(void)
266
{
Callers
1
main
Function · 0.70
Calls
2
json_tok_remove
Function · 0.85
json_parse
Function · 0.70
Tested by
no test coverage detected