Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
J committed Nov 7, 2023
1 parent 1529657 commit 5cfd140
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion programs/marginfi/tests/marginfi_account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1824,7 +1824,12 @@ async fn lending_account_close_balance() -> anyhow::Result<()> {

// Liability share in balance is smaller than 0.0001, so repay all should fail
let res = borrower_mfi_account_f
.try_bank_repay(borrower_token_account_f_sol_eq.key, sol_eq_bank, 1, Some(true))
.try_bank_repay(
borrower_token_account_f_sol_eq.key,
sol_eq_bank,
1,
Some(true),
)
.await;
assert!(res.is_err());
assert_custom_error!(res.unwrap_err(), MarginfiError::NoLiabilityFound);
Expand Down

0 comments on commit 5cfd140

Please sign in to comment.