Skip to content

Commit cd766d3

Browse files
mx-psif7o
authored andcommitted
[chore] Fix linter issues (open-telemetry#34937)
**Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> open-telemetry#34609 and open-telemetry#34921 conflicted. This fixes CI
1 parent c293600 commit cd766d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

processor/redactionprocessor/factory_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func TestCreateTestLogsProcessor(t *testing.T) {
3333
tp, err := createLogsProcessor(context.Background(), processortest.NewNopSettings(), cfg, consumertest.NewNop())
3434
assert.NoError(t, err)
3535
assert.NotNil(t, tp)
36-
assert.Equal(t, true, tp.Capabilities().MutatesData)
36+
assert.True(t, tp.Capabilities().MutatesData)
3737
}
3838

3939
func TestCreateTestMetricsProcessor(t *testing.T) {
@@ -42,5 +42,5 @@ func TestCreateTestMetricsProcessor(t *testing.T) {
4242
tp, err := createMetricsProcessor(context.Background(), processortest.NewNopSettings(), cfg, consumertest.NewNop())
4343
assert.NoError(t, err)
4444
assert.NotNil(t, tp)
45-
assert.Equal(t, true, tp.Capabilities().MutatesData)
45+
assert.True(t, tp.Capabilities().MutatesData)
4646
}

0 commit comments

Comments
 (0)