mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +00:00
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 {
|
||||
q.Push(f.Name)
|
||||
}
|
||||
for range files {
|
||||
for _ = range files {
|
||||
n, _ := q.Pop()
|
||||
q.Done(n)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user