mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-04-20 16:06:00 -04:00
fix test
This commit is contained in:
parent
3b53d36b0b
commit
02e7625bf6
@ -42,7 +42,7 @@ 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");
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user