diff options
| author | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2026-02-12 12:03:54 +0100 |
|---|---|---|
| committer | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2026-02-12 12:03:54 +0100 |
| commit | b00ce8214479c50e137db73c77b0cc1393c5e7d4 (patch) | |
| tree | 5b5421728e91645ce5e44980f13029ad590a53ad /internal/log | |
| parent | fd7abf186da1895e20dd2fdb2e8a1406e60081d7 (diff) | |
All: Run modernize --test --fix
Diffstat (limited to 'internal/log')
| -rw-r--r-- | internal/log/rotate_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
