Skip to content

Commit 044d839

Browse files
committed
Fix type mismatch of format string
1 parent 4a02a78 commit 044d839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integrations/benchmarks_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func BenchmarkRepoBranchCommit(b *testing.B) {
102102
branchCount := len(branches)
103103
b.ResetTimer() //We measure from here
104104
for i := 0; i < b.N; i++ {
105-
req := NewRequestf(b, "GET", "/%s/%s/commits/%s", owner.Name, repo.Name, branches[i%branchCount])
105+
req := NewRequestf(b, "GET", "/%s/%s/commits/%s", owner.Name, repo.Name, branches[i%branchCount].Name)
106106
session.MakeRequest(b, req, http.StatusOK)
107107
}
108108
})

0 commit comments

Comments
 (0)