diff options
author | Mura Li <typeless@users.noreply.github.com> | 2018-12-22 00:13:31 +0800 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2018-12-21 11:13:31 -0500 |
commit | 9a33798b30c254bb51c06e3a2349cd182f027b11 (patch) | |
tree | cb6d836b65966d22890290d4652df22ef249d70d | |
parent | 330bf8d3b3128096485f65e5e0d790bde2adc007 (diff) | |
download | gitea-9a33798b30c254bb51c06e3a2349cd182f027b11.tar.gz gitea-9a33798b30c254bb51c06e3a2349cd182f027b11.zip |
Fix type mismatch of format string (#5574)
-rw-r--r-- | integrations/benchmarks_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/benchmarks_test.go b/integrations/benchmarks_test.go index 7c4196f2b9..3f009f62ea 100644 --- a/integrations/benchmarks_test.go +++ b/integrations/benchmarks_test.go @@ -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) } }) |