mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-25 07:29:32 -05:00
Improving logging on failure
This commit is contained in:
parent
644f4c1732
commit
b20c16df78
@ -144,7 +144,13 @@ impl TestContext {
|
|||||||
.get_balance()
|
.get_balance()
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
assert!(xmr_balance_after_swap <= self.alice_starting_balances.xmr - self.xmr_amount);
|
assert!(
|
||||||
|
xmr_balance_after_swap <= self.alice_starting_balances.xmr - self.xmr_amount,
|
||||||
|
"{} !< {} - {}",
|
||||||
|
xmr_balance_after_swap,
|
||||||
|
self.alice_starting_balances.xmr,
|
||||||
|
self.xmr_amount
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn assert_alice_refunded(&mut self) {
|
pub async fn assert_alice_refunded(&mut self) {
|
||||||
|
Loading…
Reference in New Issue
Block a user