diff --git a/internal/model/queue_test.go b/internal/model/queue_test.go index 37456644..96aaf385 100644 --- a/internal/model/queue_test.go +++ b/internal/model/queue_test.go @@ -191,7 +191,7 @@ func BenchmarkJobQueuePushPopDone10k(b *testing.B) { for _, f := range files { q.Push(f.Name) } - for range files { + for _ = range files { n, _ := q.Pop() q.Done(n) }