Skip to content

Commit bcf2152

Browse files
committed
Update address_allocator.rs
Signed-off-by: ylzh10 <[email protected]>
1 parent 76487ba commit bcf2152

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
@@ -196,7 +196,7 @@ mod tests {
196196
pool.allocate(101, 0x100, AllocPolicy::FirstMatch).unwrap(),
197197
RangeInclusive::new(0x1400, 0x1464).unwrap()
198198
);
199-
assert_eq!(pool.available(), 0x1000 - 0x110 - 0x100 - 0x10 - 0x100);
199+
assert_eq!(pool.available(), 0x1000 - 0x110 - 0x100 - 0x10 - 0x64);
200200
}
201201

202202
#[test]

0 commit comments

Comments
 (0)