From 4396c7db8b1d59295623248bda903b048c23168e Mon Sep 17 00:00:00 2001 From: Byron Hambly Date: Fri, 29 Sep 2023 15:13:52 +0200 Subject: [PATCH] test: fix assert --- swap/tests/rpc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swap/tests/rpc.rs b/swap/tests/rpc.rs index d16f2f21..2f2d75d9 100644 --- a/swap/tests/rpc.rs +++ b/swap/tests/rpc.rs @@ -84,8 +84,8 @@ fn assert_has_keys_hashmap(map: &HashMap, keys: &[&str]) { #[serial] pub async fn can_start_server() { setup_test(SlowCancelConfig, |harness_ctx| async move { - let (_, _, _) = setup_daemon(harness_ctx).await; - assert!(true); + let (client, _, _) = setup_daemon(harness_ctx).await; + assert!(client.is_connected()); Ok(()) }) .await;