Skip to content

Commit

Permalink
add back sql ErrNoRows
Browse files Browse the repository at this point in the history
  • Loading branch information
poopoothegorilla committed Feb 16, 2024
1 parent a6c68c5 commit aae832f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/chains/evm/txmgr/evm_tx_store_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package txmgr_test

import (
"database/sql"
"fmt"
"math/big"
"testing"
Expand Down Expand Up @@ -1262,7 +1263,7 @@ func TestORM_FindNextUnstartedTransactionFromAddress(t *testing.T) {

resultEtx := new(txmgr.Tx)
err := txStore.FindNextUnstartedTransactionFromAddress(testutils.Context(t), resultEtx, fromAddress, ethClient.ConfiguredChainID())
assert.ErrorIs(t, err, txmgrcommon.ErrTxnNotFound)
assert.ErrorIs(t, err, sql.ErrNoRows)
})

t.Run("finds unstarted tx", func(t *testing.T) {
Expand Down

0 comments on commit aae832f

Please sign in to comment.