accounts index test uses # test bins (#19580)

This commit is contained in:
Jeff Washington (jwash)
2021-09-02 16:32:42 -05:00
committed by GitHub
parent 6ab8286e8d
commit 0571962776

View File

@ -4155,7 +4155,7 @@ pub mod tests {
#[test] #[test]
fn test_start_end_bin() { fn test_start_end_bin() {
let index = AccountsIndex::<bool>::default_for_tests(); let index = AccountsIndex::<bool>::default_for_tests();
assert_eq!(index.bins(), BINS_DEFAULT); assert_eq!(index.bins(), BINS_FOR_TESTING);
let iter = AccountsIndexIterator::new( let iter = AccountsIndexIterator::new(
&index, &index,
None::<RangeInclusive<Pubkey>>, None::<RangeInclusive<Pubkey>>,