Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Matias Scharager committed Jul 17, 2024
1 parent ed8fee1 commit 0bbd78b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
assertion\
- Status: SUCCESS\
- Description: "|_| unsafe{x.x.hack()}.value.value < 101"\
in function max
- Description: "|_| unsafe{ x.x.hack() }.value.value < 101"\
in function modify

VERIFICATION:- SUCCESSFUL
4 changes: 4 additions & 0 deletions tests/expected/function-contract/interior-mutability/cell.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright Kani Contributors
// SPDX-License-Identifier: Apache-2.0 OR MIT
// kani-flags: -Zfunction-contracts

use std::cell::{Cell, RefCell, UnsafeCell};
use std::mem::transmute;
use std::panic;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
assertion\
- Status: SUCCESS\
- Description: "|_| unsafe{x.x.hack()}.value < 101"\
in function max
- Description: "|_| unsafe{ x.x.hack() }.value < 101"\
in function modify

VERIFICATION:- SUCCESSFUL
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright Kani Contributors
// SPDX-License-Identifier: Apache-2.0 OR MIT
// kani-flags: -Zfunction-contracts

use std::cell::{Cell, RefCell, UnsafeCell};
use std::mem::transmute;
use std::panic;
Expand Down

0 comments on commit 0bbd78b

Please sign in to comment.