Skip to content

Commit

Permalink
Update pointer_inbounds.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
celinval authored Jan 4, 2025
1 parent d1940aa commit 67ebc69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/expected/arbitrary/ptrs/pointer_inbounds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ fn check_overlap() {
kani::cover!(distance > 0, "Greater");
kani::cover!(distance < 0, "Smaller");

assert!(distance >= -4 && distance <= 4, "Expected a maximum distance of 4 elements");
assert!(distance >= -8 && distance <= 8, "Expected a maximum distance of 8 bytes");
}

0 comments on commit 67ebc69

Please sign in to comment.