From 84a86bbb05aae9b44f3b23706c72a6b6f9853afa Mon Sep 17 00:00:00 2001 From: dmoka Date: Wed, 18 Sep 2024 13:03:11 +0200 Subject: [PATCH] formatting --- pallets/liquidity-mining/src/tests/invariants.rs | 1 - pallets/liquidity-mining/src/tests/update_global_farm.rs | 9 ++------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/pallets/liquidity-mining/src/tests/invariants.rs b/pallets/liquidity-mining/src/tests/invariants.rs index e8714483f..16390df59 100644 --- a/pallets/liquidity-mining/src/tests/invariants.rs +++ b/pallets/liquidity-mining/src/tests/invariants.rs @@ -1175,7 +1175,6 @@ fn update_global_farm_invariant_2_3() { }) }); - Ok(()) }, ) diff --git a/pallets/liquidity-mining/src/tests/update_global_farm.rs b/pallets/liquidity-mining/src/tests/update_global_farm.rs index 5b4e5c31b..2362a5173 100644 --- a/pallets/liquidity-mining/src/tests/update_global_farm.rs +++ b/pallets/liquidity-mining/src/tests/update_global_farm.rs @@ -328,12 +328,7 @@ fn claim_rewards_should_work_after_claiming_rewards() { //Assert assert_eq!( - LiquidityMining::claim_rewards( - ALICE, - PREDEFINED_DEPOSIT_IDS[0], - GC_BSX_TKN1_YIELD_FARM_ID, - false - ) + LiquidityMining::claim_rewards(ALICE, PREDEFINED_DEPOSIT_IDS[0], GC_BSX_TKN1_YIELD_FARM_ID, false) .unwrap(), (GC_FARM, BSX, 28495477087879389002, 142022912120610998) ); @@ -341,4 +336,4 @@ fn claim_rewards_should_work_after_claiming_rewards() { TransactionOutcome::Commit(DispatchResult::Ok(())) }); }); -} \ No newline at end of file +}