Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzyildirim committed Nov 10, 2023
1 parent 0f422f7 commit 7d65cde
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion batch_consumer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,10 @@ func Test_batchConsumer_process_ReprocessingFailedWithRetryEnabled(t *testing.T)
// Given
mc := &mockCronsumer{wantErr: true}
bc := batchConsumer{
base: &base{metric: &ConsumerMetric{}, logger: NewZapLogger(LogLevelDebug), retryEnabled: true, nonTransactionalBatchRetryEnabled: true, cronsumer: mc},
base: &base{metric: &ConsumerMetric{}, logger: NewZapLogger(LogLevelDebug),
retryEnabled: true,
nonTransactionalBatchRetryEnabled: true,
cronsumer: mc},
consumeFn: func(messages []*Message) error {
return errors.New("error case")
},
Expand Down

0 comments on commit 7d65cde

Please sign in to comment.