Skip to content

Commit

Permalink
test: Update DBError balance error text
Browse files Browse the repository at this point in the history
  • Loading branch information
drklee3 committed Apr 15, 2024
1 parent f730cc2 commit e474b39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/evm/statedb/statedb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,15 +290,15 @@ func (suite *HybridStateDBTestSuite) TestDBError() {
func(db *statedb.StateDB) {
db.SubBalance(address, big.NewInt(1))
},
"0aphoton is smaller than 1aphoton",
"insufficient funds",
},
{
"multiple errors persist first error",
func(db *statedb.StateDB) {
db.SubBalance(address, big.NewInt(200))
db.SubBalance(address2, big.NewInt(500))
},
"0aphoton is smaller than 200aphoton",
"insufficient funds",
},
}
for _, tc := range testCases {
Expand Down

0 comments on commit e474b39

Please sign in to comment.