Skip to content

Commit

Permalink
Improve formatting in test_hot_storage_get_account_offset_and_address…
Browse files Browse the repository at this point in the history
…() (#34071)

#### Problem
#34032 mentioned nice-to-have a formatting improvement that
can improve the readability. 

#### Summary of Changes
Improve the code formatting in test_hot_storage_get_account_offset_and_address().
  • Loading branch information
yhchiang-sol authored Nov 15, 2023
1 parent ba0a49b commit d58db6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts-db/src/tiered_storage/hot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,8 @@ pub mod tests {
for (i, index_writer_entry) in index_writer_entries.iter().enumerate() {
let account_offset = hot_storage.get_account_offset(IndexOffset(i)).unwrap();
assert_eq!(account_offset.block as u64, index_writer_entry.block_offset);
let account_address = hot_storage.get_account_address(IndexOffset(i)).unwrap();

let account_address = hot_storage.get_account_address(IndexOffset(i)).unwrap();
assert_eq!(account_address, index_writer_entry.address);
}
}
Expand Down

0 comments on commit d58db6e

Please sign in to comment.