From 7a9fc6dbd31be273176d034b787c90aeeac275b1 Mon Sep 17 00:00:00 2001 From: Brendan Long Date: Tue, 6 Jan 2015 00:05:07 -0600 Subject: [PATCH] Don't use Go 1.4 range syntax in queue_test.go, since the listed requirement is Go 1.3. --- internal/model/queue_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/model/queue_test.go b/internal/model/queue_test.go index 37456644..96aaf385 100644 --- a/internal/model/queue_test.go +++ b/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) }