Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew7234 committed Sep 12, 2023
1 parent 50b2eff commit fffaac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzer/item/item_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func setupAnalyzer(t *testing.T, testDb *postgres.Client, p *mockProcessor, cfg
// getDbProcessedItems queries the test db and returns a mapping of item_id:frequency
// where item_id refers to the item whose database updates were committed, and
// frequency is the count of how many times those updates were applied.
func getDbProcessedItems(t *testing.T, ctx context.Context, storage storage.TargetStorage) map[uint64]uint64 {
func getDbProcessedItems(t *testing.T, ctx context.Context, storage storage.TargetStorage) map[uint64]uint64 { //nolint:revive
rows, err := storage.Query(ctx, testItemCounts)
require.NoError(t, err, "failed to fetch processed items from db")
defer rows.Close()
Expand Down

0 comments on commit fffaac2

Please sign in to comment.