fix rename of HOT_ACCOUNT_ALIGNMENT (#34422)

This commit is contained in:
Ashwin Sekar 2023-12-12 16:18:10 -05:00 committed by GitHub
parent 79d0a47d78
commit 337c233b5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -380,7 +380,7 @@ pub mod tests {
#[test]
fn test_max_hot_account_offset_out_of_bounds() {
assert_matches!(
HotAccountOffset::new(MAX_HOT_ACCOUNT_OFFSET + HOT_ACCOUNT_OFFSET_ALIGNMENT),
HotAccountOffset::new(MAX_HOT_ACCOUNT_OFFSET + HOT_ACCOUNT_ALIGNMENT),
Err(TieredStorageError::OffsetOutOfBounds(_, _))
);
}
@ -388,7 +388,7 @@ pub mod tests {
#[test]
fn test_max_hot_account_offset_alignment_error() {
assert_matches!(
HotAccountOffset::new(HOT_ACCOUNT_OFFSET_ALIGNMENT - 1),
HotAccountOffset::new(HOT_ACCOUNT_ALIGNMENT - 1),
Err(TieredStorageError::OffsetAlignmentError(_, _))
);
}