Improve formatting in test_hot_storage_get_account_offset_and_address() (#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().
This commit is contained in:
Yueh-Hsuan Chiang 2023-11-15 11:25:18 -08:00 committed by GitHub
parent ba0a49b436
commit d58db6e255
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}