mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-04-20 07:56:05 -04:00
Fix lint
This commit is contained in:
parent
7d7e3d5472
commit
2952d9812b
@ -44,8 +44,8 @@ async fn given_alice_and_bob_manually_cancel_when_timelock_not_expired_errors()
|
||||
.unwrap_err();
|
||||
|
||||
assert!(error
|
||||
.to_string()
|
||||
.contains("Cannot cancel swap because the cancel timelock has not expired yet"));
|
||||
.to_string()
|
||||
.contains("Cannot cancel swap because the cancel timelock has not expired yet"));
|
||||
|
||||
|
||||
ctx.restart_alice().await;
|
||||
@ -74,8 +74,8 @@ async fn given_alice_and_bob_manually_cancel_when_timelock_not_expired_errors()
|
||||
.await
|
||||
.unwrap_err();
|
||||
assert!(error
|
||||
.to_string()
|
||||
.contains("Cannot refund swap because the cancel timelock has not expired yet"));
|
||||
.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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user