From 6ea04ae788e394ed489f5d52426e54887220114f Mon Sep 17 00:00:00 2001 From: Aditya Vyas Date: Fri, 13 Dec 2024 23:22:42 +0530 Subject: [PATCH] Fix linter - 3 --- cmd/stellar-rpc/internal/methods/get_transactions_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/stellar-rpc/internal/methods/get_transactions_test.go b/cmd/stellar-rpc/internal/methods/get_transactions_test.go index b168050c..f8a91bc5 100644 --- a/cmd/stellar-rpc/internal/methods/get_transactions_test.go +++ b/cmd/stellar-rpc/internal/methods/get_transactions_test.go @@ -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), @@ -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),