fix formatting

This commit is contained in:
patrini32 2024-06-12 23:21:12 +03:00 committed by patrini32
parent 02e7625bf6
commit bbe1ad0c57

View File

@ -42,7 +42,10 @@ async fn given_alice_and_bob_manually_cancel_when_timelock_not_expired_errors()
let error = cli::cancel(bob_swap.id, bob_swap.bitcoin_wallet, bob_swap.db)
.await
.unwrap_err();
assert_eq!(error.to_string(), "Cancel timelock hasn't expired yet. Bob tried to cancel the swap too early");
assert_eq!(
error.to_string(),
"Cancel timelock hasn't expired yet. Bob tried to cancel the swap too early"
);
ctx.restart_alice().await;
let alice_swap = ctx.alice_next_swap().await;