Ver Fonte

Don't use Go 1.4 range syntax in queue_test.go, since the listed requirement is Go 1.3.

Brendan Long há 11 anos atrás
pai
commit
7a9fc6dbd3
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      internal/model/queue_test.go

+ 1 - 1
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)
 		}