Skip to content

Commit

Permalink
Updating test annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoeilers committed Feb 7, 2024
1 parent 348dca1 commit 1a5ba01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/obligations/verification/test_loop_leak_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def MustRelease_context_2(lock: Lock[object]) -> None:
i += 1


#:: ExpectedOutput(leak_check.failed:method_body.leaks_obligations)
#:: ExpectedOutput(carbon)(leak_check.failed:method_body.leaks_obligations)
def MustInvoke_body_1(t1: Place) -> None:
Requires(token(t1, 1))
i = 0
Expand All @@ -55,7 +55,7 @@ def MustInvoke_body_1(t1: Place) -> None:
i += 1


#:: ExpectedOutput(leak_check.failed:method_body.leaks_obligations)
#:: ExpectedOutput(carbon)(leak_check.failed:method_body.leaks_obligations)
def MustRelease_body_1(lock: Lock[object]) -> None:
Requires(MustRelease(lock, 1))
i = 0
Expand Down

0 comments on commit 1a5ba01

Please sign in to comment.