cleanup test (#33291)

This commit is contained in:
Jeff Washington (jwash) 2023-09-18 10:59:42 -07:00 committed by GitHub
parent 86dd18bfb5
commit 402981e3c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -10083,12 +10083,8 @@ pub mod tests {
if reverse {
data = data.into_iter().rev().collect();
}
let expected_alive_bytes = if reverse {
aligned_stored_size(account_big.data().len())
} else {
aligned_stored_size(account_small.data().len())
};
let expected_accounts_data_len = data.last().unwrap().1.data().len();
let expected_alive_bytes = aligned_stored_size(expected_accounts_data_len);
let storable = (slot0, &data[..], INCLUDE_SLOT_IN_HASH_TESTS);
let hashes = data.iter().map(|_| Hash::default()).collect::<Vec<_>>();
let write_versions = data.iter().map(|_| 0).collect::<Vec<_>>();