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

Function zero_params

common/test/run-param.c:128–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128static void zero_params(void)
129{
130 struct json *j = json_parse(cmd, "{}");
131 assert(param(cmd, j->buffer, j->toks, NULL));
132
133 j = json_parse(cmd, "[]");
134 assert(param(cmd, j->buffer, j->toks, NULL));
135}
136
137struct sanity {
138 char *str;

Callers 1

mainFunction · 0.85

Calls 2

json_parseFunction · 0.70
paramClass · 0.70

Tested by

no test coverage detected