Skip to content

Commit

Permalink
fix: Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
aidan46 committed Feb 26, 2025
1 parent 62e1a4c commit 3b16312
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions pallets/market/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,7 @@ mod benchmarks {
.unwrap();
}

assert_eq!(
SPDealParameters::<T>::get(&caller),
Some(deal_parameters)
);
assert_eq!(SPDealParameters::<T>::get(&caller), Some(deal_parameters));
}

#[benchmark]
Expand Down Expand Up @@ -458,14 +455,10 @@ mod benchmarks {
// #[extrinsic_call] requires type shenanigans, using #[block] is MUCH simpler
#[block]
{
Pallet::<T>::remove_deal_parameters(storage_provider.clone())
.unwrap();
Pallet::<T>::remove_deal_parameters(storage_provider.clone()).unwrap();
}

assert_eq!(
SPDealParameters::<T>::get(&caller),
None
);
assert_eq!(SPDealParameters::<T>::get(&caller), None);
}

impl_benchmark_test_suite! {
Expand Down

0 comments on commit 3b16312

Please sign in to comment.