Skip to content

Commit 0562f0e

Browse files
authored
Update address_allocator.rs
1 parent ea2dbad commit 0562f0e

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)