From 7d7e3d5472222d107c7ad39e77d0aee1c1e342c0 Mon Sep 17 00:00:00 2001 From: patrini32 Date: Fri, 28 Jun 2024 16:21:42 +0000 Subject: [PATCH] Fix lint --- ...sing_cancel_and_refund_command_timelock_not_expired.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/swap/tests/alice_and_bob_refund_using_cancel_and_refund_command_timelock_not_expired.rs b/swap/tests/alice_and_bob_refund_using_cancel_and_refund_command_timelock_not_expired.rs index a64377da..6b997fa1 100644 --- a/swap/tests/alice_and_bob_refund_using_cancel_and_refund_command_timelock_not_expired.rs +++ b/swap/tests/alice_and_bob_refund_using_cancel_and_refund_command_timelock_not_expired.rs @@ -43,7 +43,9 @@ async fn given_alice_and_bob_manually_cancel_when_timelock_not_expired_errors() .await .unwrap_err(); - assert!(error.to_string().contains("Cannot cancel swap because the cancel timelock has not expired yet")); + assert!(error + .to_string() + .contains("Cannot cancel swap because the cancel timelock has not expired yet")); ctx.restart_alice().await; @@ -71,7 +73,9 @@ async fn given_alice_and_bob_manually_cancel_when_timelock_not_expired_errors() let error = cli::refund(bob_swap.id, bob_swap.bitcoin_wallet, bob_swap.db) .await .unwrap_err(); - assert!(error.to_string().contains("Cannot refund swap because the cancel timelock has not expired yet")); + assert!(error + .to_string() + .contains("Cannot refund swap because the cancel timelock has not expired yet")); let (bob_swap, _) = ctx .stop_and_resume_bob_from_db(bob_join_handle, swap_id)