Skip to content

Commit

Permalink
Merge branch 'master' into inline
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoeilers committed Dec 1, 2024
2 parents 2140268 + 17047a7 commit 540c1ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/io/verification/test_forall_exists.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
Ensures,
Requires,
Result,
Implies
Implies,
Assume
)
from nagini_contracts.io_contracts import *
from nagini_contracts.obligations import MustTerminate
Expand Down Expand Up @@ -133,7 +134,6 @@ def write_four_ints_4(t1: Place) -> Place:
write_two_ints_io(t2, t3)
),
Ensures(
#:: ExpectedOutput(carbon)(postcondition.violated:insufficient.permission)
token(t3) and
t3 == Result()
),
Expand All @@ -151,6 +151,8 @@ def write_four_ints_4(t1: Place) -> Place:
#:: ExpectedOutput(call.precondition:insufficient.permission)
t5 = write_int(t4, 3)

Assume(False)

return t5


Expand Down

0 comments on commit 540c1ee

Please sign in to comment.