From 0b5f2f121317765862dbc5803f3e0c43028fe559 Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Wed, 21 Feb 2024 18:08:37 +0100 Subject: [PATCH] tests: print more useful information durint the debugging Signed-off-by: Vincenzo Palazzo --- rgb-testing/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rgb-testing/src/lib.rs b/rgb-testing/src/lib.rs index 87a58a3..0ab7e48 100644 --- a/rgb-testing/src/lib.rs +++ b/rgb-testing/src/lib.rs @@ -33,7 +33,9 @@ mod tests { "regtest", ) .await?; - let _: json::Value = cln.rpc().call("getinfo", json::json!({}))?; + let result = cln.rpc().call::("getinfo", json::json!({})); + assert!(result.is_ok(), "{:?}", result); Ok(()) + } }