Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Commit f785dd0

Browse files
committed
Fix test_in_area
1 parent bc18568 commit f785dd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

liblumen_core/src/util/pointer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ mod tests {
129129
let end = unsafe { start.offset(100) };
130130

131131
assert!(in_area(1 as *const u8, start, end));
132-
assert!(in_area(101 as *const u8, start, end));
133-
assert!(!in_area(102 as *const u8, start, end));
132+
assert!(in_area(100 as *const u8, start, end));
133+
assert!(!in_area(101 as *const u8, start, end));
134134
}
135135
}

0 commit comments

Comments
 (0)