Skip to content

Commit

Permalink
add UnexpectedOutput to example with permission introspection inside …
Browse files Browse the repository at this point in the history
…unfolding expression (connected to Carbon PR #457)
  • Loading branch information
gauravpartha committed Apr 23, 2023
1 parent 747ded6 commit 66e3b25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/resources/all/issues/carbon/0213.vpr
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ method test(r:Ref)
requires P(r)
{
assert perm(r.next) == none
//:: UnexpectedOutput(assert.failed:assertion.false, /carbon/issue/213/)
assert (unfolding P(r) in perm(r.next) == write)
}

0 comments on commit 66e3b25

Please sign in to comment.