15 lines
387 B
Diff
15 lines
387 B
Diff
diff --git a/internal/model/queue_test.go b/internal/model/queue_test.go
|
|
index 3745664..96aaf38 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)
|
|
}
|
|
--
|