mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
test/run-param: fix malformed JSON.
jsmn seems happy with this, but it's Not Right! Reported-by: @niftynei Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
add822a072
commit
7b7a1b7040
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ static void advanced(void)
|
|||
assert(msat_opt2 == NULL);
|
||||
}
|
||||
{
|
||||
struct json *j = json_parse(cmd, "[ 3 'foo' ]");
|
||||
struct json *j = json_parse(cmd, "[ 3, 'foo' ]");
|
||||
struct json_escaped *label, *foo;
|
||||
assert(param(cmd, j->buffer, j->toks,
|
||||
p_req("label", param_label, &label),
|
||||
|
|
Loading…
Add table
Reference in a new issue