Skip to content

Commit

Permalink
nolint usage of GetExporters
Browse files Browse the repository at this point in the history
  • Loading branch information
djaglowski committed May 26, 2023
1 parent 2d849d7 commit 4ffb16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/componenttest/nop_host_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func TestNewNopHost(t *testing.T) {
require.IsType(t, &nopHost{}, nh)

nh.ReportFatalError(errors.New("TestError"))
assert.Nil(t, nh.GetExporters())
assert.Nil(t, nh.GetExporters()) // nolint: staticcheck
assert.Nil(t, nh.GetExtensions())
assert.Nil(t, nh.GetFactory(component.KindReceiver, "test"))
}

0 comments on commit 4ffb16f

Please sign in to comment.