Browse Source

Fix type mismatch of format string (#5574)

tags/v1.7.0-dev
Mura Li 5 years ago
parent
commit
9a33798b30
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      integrations/benchmarks_test.go

+ 1
- 1
integrations/benchmarks_test.go View File

@@ -102,7 +102,7 @@ func BenchmarkRepoBranchCommit(b *testing.B) {
branchCount := len(branches)
b.ResetTimer() //We measure from here
for i := 0; i < b.N; i++ {
req := NewRequestf(b, "GET", "/%s/%s/commits/%s", owner.Name, repo.Name, branches[i%branchCount])
req := NewRequestf(b, "GET", "/%s/%s/commits/%s", owner.Name, repo.Name, branches[i%branchCount].Name)
session.MakeRequest(b, req, http.StatusOK)
}
})

Loading…
Cancel
Save