Merge pull request #1183 from brendanlong/fix-tests-on-go-1.3

Don't use Go 1.4 range syntax in queue_test.go
This commit is contained in:
Jakob Borg 2015-01-06 22:47:23 +01:00
commit 8e2760cb3d

View File

@ -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)
}