Skip to content

Commit

Permalink
Better code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
moshababo committed Nov 28, 2023
1 parent 3600a13 commit 8a70f2c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion node/actors/bft/src/replica/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,11 @@ async fn leader_prepare_proposal_invalid_parent_hash() {
let res = util.dispatch_leader_prepare(leader_prepare_signed).await;
assert_matches!(
res,
Err(LeaderPrepareError::ProposalInvalidParentHash { correct_parent_hash, received_parent_hash, header }) => {
Err(LeaderPrepareError::ProposalInvalidParentHash {
correct_parent_hash,
received_parent_hash,
header
}) => {
assert_eq!(correct_parent_hash, replica_prepare.high_vote.proposal.hash());
assert_eq!(received_parent_hash, junk);
assert_eq!(header, leader_prepare.proposal);
Expand Down

0 comments on commit 8a70f2c

Please sign in to comment.