Skip to content

Commit e7e855f

Browse files
dustinxieCoderZhi
authored andcommitted
Fix early return in protocol_test.go (iotexproject#1044)
1 parent 95c081c commit e7e855f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

action/protocol/execution/protocol_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,6 @@ func (sct *SmartContractTest) run(r *require.Assertions) {
366366
} else {
367367
r.Equal(expected, retval)
368368
}
369-
return
370369
}
371370
for _, expectedBalance := range exec.ExpectedBalances {
372371
account := expectedBalance.Account

action/protocol/execution/testdata/infiniteloop.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"failed": true,
5151
"expectedBalances": [{
5252
"account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms",
53-
"rawBalance": "9999999999994778137"
53+
"rawBalance": "9999999999994768135"
5454
}],
5555
"comment": "calling infinite(), this will consume all provided gas, and exit with failure"
5656
}]

0 commit comments

Comments
 (0)