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:227–232 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
225
}
226
227
static 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
234
static void remove_one(void)
235
{
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