Skip to content

Commit 0a49c72

Browse files
committed
Update address_allocator.rs
Signed-off-by: ylzh10 <[email protected]>
1 parent 09b4c87 commit 0a49c72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/address_allocator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ mod tests {
194194
// Allocate unaligned size 101
195195
assert_eq!(
196196
pool.allocate(101, 0x100, AllocPolicy::FirstMatch).unwrap(),
197-
RangeInclusive::new(0x1400, 0x14FF).unwrap()
197+
RangeInclusive::new(0x1400, 0x1464).unwrap()
198198
);
199199
assert_eq!(pool.available(), 0x1000 - 0x110 - 0x100 - 0x10 - 0x100);
200200
}

0 commit comments

Comments
 (0)