Skip to content

Commit

Permalink
Update harness name and expand the test description
Browse files Browse the repository at this point in the history
  • Loading branch information
zhassan-aws committed Mar 22, 2024
1 parent b05e60e commit cac90c5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/kani/Spurious/storage_fixme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

// Our handling of storage markers causes spurious failures in this test.
// https://github.com/model-checking/kani/issues/3099
// The code is extracted from the implementation of `BTreeMap` which is where we
// originally saw the spurious failures while trying to enable storage markers
// for `std` in https://github.com/model-checking/kani/pull/3080

use std::alloc::Layout;
use std::marker::PhantomData;
Expand Down Expand Up @@ -640,7 +643,7 @@ struct IntoIter {
}

#[cfg_attr(kani, kani::proof, kani::unwind(3))]
fn main() {
fn check_storagemarker_btreemap() {
let mut f = Foo { root: None, length: 0 };
let mut root: NodeRef<marker::Owned, marker::Leaf> = NodeRef::new_leaf();
root.borrow_mut().push();
Expand Down

0 comments on commit cac90c5

Please sign in to comment.