diff --git a/src/bank_forks.rs b/src/bank_forks.rs index 6145a6d6e6fb26..2b32c607dcaea7 100644 --- a/src/bank_forks.rs +++ b/src/bank_forks.rs @@ -106,8 +106,8 @@ mod tests { let mut bank_forks = BankForks::new(0, bank); let child_bank = Bank::new_from_parent(&bank_forks[0u64]); bank_forks.insert(1, child_bank); - assert!(bank_forks.frozen_banks().get(&0).is_some()); - assert!(bank_forks.frozen_banks().get(&1).is_none()); + assert!(bank_forks.frozen_banks().get(&0).is_some()); + assert!(bank_forks.frozen_banks().get(&1).is_none()); } #[test] @@ -117,7 +117,7 @@ mod tests { let mut bank_forks = BankForks::new(0, bank); let child_bank = Bank::new_from_parent(&bank_forks[0u64]); bank_forks.insert(1, child_bank); - assert_eq!(bank_forks.active_banks(), vec![1]); + assert_eq!(bank_forks.active_banks(), vec![1]); } }