From 2097233028568bc4e71808096a0afb2072d28261 Mon Sep 17 00:00:00 2001 From: Laurent Demailly Date: Wed, 17 Jul 2024 14:54:25 -0700 Subject: [PATCH] Update logger_test.go --- logger_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger_test.go b/logger_test.go index 38bb785..985d095 100644 --- a/logger_test.go +++ b/logger_test.go @@ -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) {