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:
parent
9a50c4d93f
commit
7a9fc6dbd3
@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user