Archived
Don't use Go 1.4 range syntax in queue_test.go, since the listed requirement is Go 1.3.
This commit is contained in:
1 parent
9a50c4d93f
commit
7a9fc6dbd3
1 file changed
+1
-1
@@ -191,7 +191,7 @@ func BenchmarkJobQueuePushPopDone10k(b *testing.B) {
|
|||||||
for _, f := range files {
|
for _, f := range files {
|
||||||
q.Push(f.Name)
|
q.Push(f.Name)
|
||||||
}
|
}
|
||||||
for range files {
|
for _ = range files {
|
||||||
n, _ := q.Pop()
|
n, _ := q.Pop()
|
||||||
q.Done(n)
|
q.Done(n)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user