From b00ce8214479c50e137db73c77b0cc1393c5e7d4 Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Thu, 12 Feb 2026 12:03:54 +0100 Subject: All: Run modernize --test --fix --- internal/log/rotate_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/log/rotate_test.go') diff --git a/internal/log/rotate_test.go b/internal/log/rotate_test.go index 5381a49..4fa77fd 100644 --- a/internal/log/rotate_test.go +++ b/internal/log/rotate_test.go @@ -69,7 +69,7 @@ func TestWriteTrim(t *testing.T) { writeNCheckSize := func(n int, size int64) { buf := make([]byte, n) - for i := 0; i < n; i++ { + for i := range n { buf[i] = 'x' } _, err := fr.Write(buf) -- cgit v1.2.3