From db7ae33fd9677e126ca0222a6ba5a3e383e0a894 Mon Sep 17 00:00:00 2001 From: Gautham Date: Thu, 14 Mar 2024 15:30:00 +0700 Subject: [PATCH] cargo fmt --- pallets/ocex/src/tests.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pallets/ocex/src/tests.rs b/pallets/ocex/src/tests.rs index 291a4bacd..78e859d7c 100644 --- a/pallets/ocex/src/tests.rs +++ b/pallets/ocex/src/tests.rs @@ -525,7 +525,10 @@ fn test_trade_between_two_accounts_with_balance() { //check has 20 pdex now let encoded = state.get(&alice_account_id.0.to_vec()).unwrap().unwrap(); let account_info: BTreeMap = BTreeMap::decode(&mut &encoded[..]).unwrap(); - assert_eq!(account_info.get(&AssetId::Polkadex).unwrap(), &Decimal::from_f64(19.98).unwrap()); + assert_eq!( + account_info.get(&AssetId::Polkadex).unwrap(), + &Decimal::from_f64(19.98).unwrap() + ); //check if bob has 20 less pdex let encoded = state.get(&bob_account_id.0.to_vec()).unwrap().unwrap();