Skip to content

Commit

Permalink
Fix linter - 3
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya1702 committed Dec 13, 2024
1 parent 46a469a commit 6ea04ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/stellar-rpc/internal/methods/get_transactions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func setupDB(t *testing.T, numLedgers int, skipLedger int) *db.DB {
return testDB
}

func TestGetTransactions_DefaultLimit(t *testing.T) {
func TestGetTransactions_DefaultLimit(t *testing.T) { //nolint:dupl
testDB := setupDB(t, 10, 0)
handler := transactionsRPCHandler{
ledgerReader: db.NewLedgerReader(testDB),
Expand Down Expand Up @@ -101,7 +101,7 @@ func TestGetTransactions_DefaultLimit(t *testing.T) {
assert.Equal(t, expectedTransactionInfo, response.Transactions[0])
}

func TestGetTransactions_DefaultLimitExceedsLatestLedger(t *testing.T) {
func TestGetTransactions_DefaultLimitExceedsLatestLedger(t *testing.T) { //nolint:dupl
testDB := setupDB(t, 3, 0)
handler := transactionsRPCHandler{
ledgerReader: db.NewLedgerReader(testDB),
Expand Down

0 comments on commit 6ea04ae

Please sign in to comment.