]> Sergey Matveev's repositories - btrtrc.git/blobdiff - misc_test.go
Skip test failures due to Go uTP implementation
[btrtrc.git] / misc_test.go
index 5190e4f49fffa73fca18bfeb113034e42bf3409d..d8c0c7aab2850b0abc14c49e2f00102ac1397d16 100644 (file)
@@ -25,7 +25,7 @@ func TestTorrentOffsetRequest(t *testing.T) {
 
 func BenchmarkIterBitmapsDistinct(t *testing.B) {
        t.ReportAllocs()
-       for range iter.N(t.N) {
+       for i := 0; i < t.N; i += 1 {
                var skip, first, second bitmap.Bitmap
                skip.Add(1)
                first.Add(1, 0, 3)