tests: print more useful information durint the debugging

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
Vincenzo Palazzo 2024-02-21 18:08:37 +01:00
parent 8c9642c8e8
commit 0b5f2f1213
Signed by: vincenzopalazzo
GPG Key ID: 8B6DC2B870B80D5F
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,9 @@ mod tests {
"regtest",
)
.await?;
let _: json::Value = cln.rpc().call("getinfo", json::json!({}))?;
let result = cln.rpc().call::<json::Value, json::Value>("getinfo", json::json!({}));
assert!(result.is_ok(), "{:?}", result);
Ok(())
}
}