Skip to content

Commit

Permalink
Change tests expectations
Browse files Browse the repository at this point in the history
Remove CBMC failure expectations that are now caught by the rust
overflow check. This was due to the following Rust compiler change:
- rust-lang/rust#108282
  • Loading branch information
celinval committed May 1, 2023
1 parent 07e2d21 commit 0033a60
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions tests/ui/cbmc_checks/signed-overflow/expected
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ Failed Checks: attempt to shift left with overflow
Failed Checks: attempt to shift right with overflow
Failed Checks: arithmetic overflow on signed shl
Failed Checks: shift operand is negative
Failed Checks: shift distance is negative
Failed Checks: shift distance too large
1 change: 0 additions & 1 deletion tests/ui/cbmc_checks/unsigned-overflow/expected
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ Failed Checks: attempt to subtract with overflow
Failed Checks: attempt to multiply with overflow
Failed Checks: attempt to shift right with overflow
Failed Checks: attempt to shift left with overflow
Failed Checks: shift distance too large

0 comments on commit 0033a60

Please sign in to comment.