Skip to content

Commit c36cfb4

Browse files
committed
Fix test for overflowing physaddr - forgot to commit before pushing
1 parent 01ffca1 commit c36cfb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/addr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ mod tests {
672672
#[test]
673673
#[should_panic]
674674
pub fn add_overflow_physaddr() {
675-
let _ = PhysAddr::new(0x000f_ffff_ffff_ffff) + 1;
675+
let _ = PhysAddr::new(0x000f_ffff_ffff_ffff) + 0xffff_0000_0000_0000;
676676
}
677677

678678
#[test]

0 commit comments

Comments
 (0)