Skip to content

Commit

Permalink
test: add nil context test case
Browse files Browse the repository at this point in the history
  • Loading branch information
flc1125 committed Dec 23, 2024
1 parent 56945df commit 896c809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/otellogr/logsink_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ func TestLogSinkWithContext(t *testing.T) {
t.Run("with nil context", func(t *testing.T) {
defer rec.Reset()

ls2 := ls.WithContext(nil)
ls2 := ls.WithContext(nil) //nolint:staticcheck
assert.Same(t, ls, ls2)
})

Expand Down

0 comments on commit 896c809

Please sign in to comment.