summaryrefslogtreecommitdiff
path: root/internal/log/rotate_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/log/rotate_test.go')
-rw-r--r--internal/log/rotate_test.go2
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)