Skip to content

Commit

Permalink
Fix type mismatch of format string (#5574)
Browse files Browse the repository at this point in the history
  • Loading branch information
typeless authored and techknowlogick committed Dec 21, 2018
1 parent 330bf8d commit 9a33798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/benchmarks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
})
Expand Down

0 comments on commit 9a33798

Please sign in to comment.