From ef09a1522e7279db4be0bf433d1734d5da01892c Mon Sep 17 00:00:00 2001 From: Pablo Baeyens Date: Fri, 30 Aug 2024 11:28:40 +0200 Subject: [PATCH] [chore] Fix linter issues --- processor/redactionprocessor/factory_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/processor/redactionprocessor/factory_test.go b/processor/redactionprocessor/factory_test.go index 490b59a38ab92..3fcac785bd664 100644 --- a/processor/redactionprocessor/factory_test.go +++ b/processor/redactionprocessor/factory_test.go @@ -33,7 +33,7 @@ func TestCreateTestLogsProcessor(t *testing.T) { tp, err := createLogsProcessor(context.Background(), processortest.NewNopSettings(), cfg, consumertest.NewNop()) assert.NoError(t, err) assert.NotNil(t, tp) - assert.Equal(t, true, tp.Capabilities().MutatesData) + assert.True(t, tp.Capabilities().MutatesData) } func TestCreateTestMetricsProcessor(t *testing.T) { @@ -42,5 +42,5 @@ func TestCreateTestMetricsProcessor(t *testing.T) { tp, err := createMetricsProcessor(context.Background(), processortest.NewNopSettings(), cfg, consumertest.NewNop()) assert.NoError(t, err) assert.NotNil(t, tp) - assert.Equal(t, true, tp.Capabilities().MutatesData) + assert.True(t, tp.Capabilities().MutatesData) }