Skip to content

Commit d3e9e66

Browse files
lefterislazarzoep
andauthored
Apply suggestions from code review
Trivial true cases removed. Co-authored-by: Zoe Paraskevopoulou <[email protected]>
1 parent c9c5b3a commit d3e9e66

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

tests/hevm/pass/erc20/erc20.act

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,7 @@ iff
193193

194194
CALLVALUE == 0
195195

196-
case true:
197-
198-
returns pre(totalSupply)
196+
returns pre(totalSupply)
199197

200198
behaviour balanceOf of Token
201199
interface balanceOf(address idx)
@@ -204,9 +202,7 @@ iff
204202

205203
CALLVALUE == 0
206204

207-
case true:
208-
209-
returns pre(balanceOf[idx])
205+
returns pre(balanceOf[idx])
210206

211207
behaviour allowance of Token
212208
interface allowance(address idx1, address idx2)
@@ -215,6 +211,4 @@ iff
215211

216212
CALLVALUE == 0
217213

218-
case true:
219-
220-
returns pre(allowance[idx1][idx2])
214+
returns pre(allowance[idx1][idx2])

0 commit comments

Comments
 (0)