From 045a6834b98e47ed726c5f09b9c3178dd117684f Mon Sep 17 00:00:00 2001 From: yooml Date: Thu, 7 Sep 2023 10:04:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pallets/lend-market/src/tests.rs | 5 +---- pallets/lend-market/src/tests/market.rs | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/pallets/lend-market/src/tests.rs b/pallets/lend-market/src/tests.rs index 7ec4177ea..64e9d141f 100644 --- a/pallets/lend-market/src/tests.rs +++ b/pallets/lend-market/src/tests.rs @@ -343,10 +343,7 @@ fn borrow_allowed_works() { #[test] fn update_liquidation_free_collateral_works() { new_test_ext().execute_with(|| { - assert_ok!(Loans::update_liquidation_free_collateral( - RuntimeOrigin::root(), - vec![PHA] - )); + assert_ok!(Loans::update_liquidation_free_collateral(RuntimeOrigin::root(), vec![PHA])); assert_eq!(Loans::liquidation_free_collaterals(), vec![PHA]); }) } diff --git a/pallets/lend-market/src/tests/market.rs b/pallets/lend-market/src/tests/market.rs index 0f9a9a603..80ecbb203 100644 --- a/pallets/lend-market/src/tests/market.rs +++ b/pallets/lend-market/src/tests/market.rs @@ -1,7 +1,7 @@ use crate::{ mock::{ market_mock, new_test_ext, Loans, RuntimeOrigin, Test, ACTIVE_MARKET_MOCK, ALICE, DOT, - MARKET_MOCK, LDOT, LUSDT, VDOT, + LDOT, LUSDT, MARKET_MOCK, VDOT, }, Error, InterestRateModel, MarketState, };