Skip to content

Commit ee43b56

Browse files
committed
Test allocating after adding large size.
1 parent a269562 commit ee43b56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ fn test_frame_allocator_add_large_size() {
143143
let mut frame = FrameAllocator::<33>::new();
144144

145145
frame.insert(0..10_000_000_000);
146+
assert_eq!(frame.alloc(0x8000_0001), Some(0x1_0000_0000));
146147
}
147148

148149
#[test]

0 commit comments

Comments
 (0)