cln-plugin: Rework the plugin library using a Builder

This commit is contained in:
Christian Decker
2022-02-15 16:24:15 +01:00
committed by Rusty Russell
parent 4aba119733
commit 22618a2f94
3 changed files with 201 additions and 139 deletions

View File

@@ -104,14 +104,14 @@ mod test {
}),
),
(
ConfigOption::new("name", Value::Boolean(true), "description"
ConfigOption::new("name", Value::Boolean(true), "description"),
json!({
"name": "name",
"description":"description",
"default": true,
"type": "booltes",
}),
)),
),
];
for (input, expected) in tests.iter() {