Skip to content

Commit

Permalink
Update logger_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly authored Jul 17, 2024
1 parent 376fcdf commit 2097233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ func TestInvalidFile(t *testing.T) {
}
}

// io.Discard but specially known to by logger optimizations for instance.
// like io.Discard except io.Discard is checked for by logger optimizations and we want to avoid that.
type discard struct{}

func (discard) Write(p []byte) (int, error) {
Expand Down

0 comments on commit 2097233

Please sign in to comment.