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

Function zero_params

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

Source from the content-addressed store, hash-verified

170}
171
172static void zero_params(void)
173{
174 struct json *j = json_parse(cmd, "{}");
175 assert(param(cmd, j->buffer, j->toks, NULL));
176
177 j = json_parse(cmd, "[]");
178 assert(param(cmd, j->buffer, j->toks, NULL));
179}
180
181struct sanity {
182 char *str;

Callers 1

mainFunction · 0.85

Calls 2

json_parseFunction · 0.70
paramClass · 0.70

Tested by

no test coverage detected