@@ -490,8 +490,10 @@ mod tests {
490490 let selector_synced = ProposerSelector :: new ( & vs, ConsensusHeight ( 34 ) ) ;
491491
492492 // Both query for the proposer at height 34, round 6
493- let proposer_genesis = selector_from_genesis. select_proposer ( & vs, ConsensusHeight ( 34 ) , Round :: new ( 6 ) ) ;
494- let proposer_synced = selector_synced. select_proposer ( & vs, ConsensusHeight ( 34 ) , Round :: new ( 6 ) ) ;
493+ let proposer_genesis =
494+ selector_from_genesis. select_proposer ( & vs, ConsensusHeight ( 34 ) , Round :: new ( 6 ) ) ;
495+ let proposer_synced =
496+ selector_synced. select_proposer ( & vs, ConsensusHeight ( 34 ) , Round :: new ( 6 ) ) ;
495497
496498 assert_eq ! (
497499 proposer_genesis. address, proposer_synced. address,
@@ -519,8 +521,17 @@ mod tests {
519521 let sync_h34_r1 = selector_synced. select_proposer ( & vs, ConsensusHeight ( 34 ) , Round :: new ( 1 ) ) ;
520522 let sync_h34_r2 = selector_synced. select_proposer ( & vs, ConsensusHeight ( 34 ) , Round :: new ( 2 ) ) ;
521523
522- assert_eq ! ( gen_h34_r0. address, sync_h34_r0. address, "Must agree on round 0" ) ;
523- assert_eq ! ( gen_h34_r1. address, sync_h34_r1. address, "Must agree on round 1" ) ;
524- assert_eq ! ( gen_h34_r2. address, sync_h34_r2. address, "Must agree on round 2" ) ;
524+ assert_eq ! (
525+ gen_h34_r0. address, sync_h34_r0. address,
526+ "Must agree on round 0"
527+ ) ;
528+ assert_eq ! (
529+ gen_h34_r1. address, sync_h34_r1. address,
530+ "Must agree on round 1"
531+ ) ;
532+ assert_eq ! (
533+ gen_h34_r2. address, sync_h34_r2. address,
534+ "Must agree on round 2"
535+ ) ;
525536 }
526537}
0 commit comments