mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-02 14:56:10 -04:00
Improving logging on failure
This commit is contained in:
parent
644f4c1732
commit
b20c16df78
1 changed files with 7 additions and 1 deletions
|
@ -144,7 +144,13 @@ impl TestContext {
|
|||
.get_balance()
|
||||
.await
|
||||
.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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue