Skip to content

Commit

Permalink
style(market-pallets): cargo +nightly fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jmg-duarte committed Jul 4, 2024
1 parent 6af726d commit 6d6d0b7
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions pallets/market/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1061,10 +1061,7 @@ fn on_sector_terminate_deal_not_found() {
SectorDeals::<Test>::insert(cid.clone(), sector_deal_ids);

assert_err!(
Market::on_sectors_terminate(
&account(PROVIDER),
bounded_vec![cid],
),
Market::on_sectors_terminate(&account(PROVIDER), bounded_vec![cid]),
DispatchError::from(SectorTerminateError::DealNotFound)
);

Expand Down Expand Up @@ -1142,10 +1139,7 @@ fn on_sector_terminate_not_active() {
);

assert_err!(
Market::on_sectors_terminate(
&account(PROVIDER),
bounded_vec![cid],
),
Market::on_sectors_terminate(&account(PROVIDER), bounded_vec![cid],),
DispatchError::from(SectorTerminateError::DealIsNotActive)
);

Expand Down

0 comments on commit 6d6d0b7

Please sign in to comment.