Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
  • Loading branch information
sandreim committed Apr 11, 2024
1 parent 44f6710 commit 4a05f02
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions polkadot/node/collation-generation/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ fn distribute_collation_for_occupied_core_with_async_backing_enabled(#[case] run
OccupiedCoreAssumption::Included,
1,
pending_availability,
runtime_version
runtime_version,
)
.await;

Expand Down Expand Up @@ -1128,11 +1128,12 @@ mod helpers {
}
);

let async_backing_response = if runtime_version >= RuntimeApiRequest::ASYNC_BACKING_STATE_RUNTIME_REQUIREMENT {
Ok(async_backing_params)
} else {
Err(RuntimeApiError::NotSupported { runtime_api_name: "async_backing_params" })
};
let async_backing_response =
if runtime_version >= RuntimeApiRequest::ASYNC_BACKING_STATE_RUNTIME_REQUIREMENT {
Ok(async_backing_params)
} else {
Err(RuntimeApiError::NotSupported { runtime_api_name: "async_backing_params" })
};

assert_matches!(
overseer_recv(virtual_overseer).await,
Expand Down

0 comments on commit 4a05f02

Please sign in to comment.