Skip to content

Commit 0f61cb1

Browse files
authored
Update address_allocator.rs
1 parent b1de2e2 commit 0f61cb1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/address_allocator.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,6 @@ mod tests {
191191
RangeInclusive::new(0x1300, 0x130F).unwrap()
192192
);
193193
assert_eq!(pool.available(), 0x1000 - 0x110 - 0x100 - 0x10);
194-
// Allocate unaligned size 101
195-
assert_eq!(
196-
pool.allocate(0x3, 0x100, AllocPolicy::FirstMatch).unwrap(),
197-
RangeInclusive::new(0x1400, 0x1402).unwrap()
198-
);
199-
assert_eq!(pool.available(), 0x1000 - 0x110 - 0x100 - 0x10 - 0x3);
200194
}
201195

202196
#[test]

0 commit comments

Comments
 (0)