Skip to content

Commit

Permalink
make lint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
belimawr committed Jan 29, 2024
1 parent adb5fea commit 9d33586
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions logp/core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ func TestTypedLoggerCore(t *testing.T) {
defaultWriter.Reset()
typedWriter.Reset()

//nolint:errcheck // It's a test and the underlying writer never fails.
core.Write(tc.entry, []zapcore.Field{tc.field})

defaultLog := strings.TrimSpace(defaultWriter.String())
Expand Down

0 comments on commit 9d33586

Please sign in to comment.