summaryrefslogtreecommitdiffstats
path: root/tests/integration/benchmarks_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/benchmarks_test.go')
-rw-r--r--tests/integration/benchmarks_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/integration/benchmarks_test.go b/tests/integration/benchmarks_test.go
index 2f91f8273e..7a882fe836 100644
--- a/tests/integration/benchmarks_test.go
+++ b/tests/integration/benchmarks_test.go
@@ -24,9 +24,7 @@ func StringWithCharset(length int, charset string) string {
}
func BenchmarkRepoBranchCommit(b *testing.B) {
- onGiteaRunTB(b, func(t testing.TB, u *url.URL) {
- b := t.(*testing.B)
-
+ onGiteaRun(b, func(b *testing.B, u *url.URL) {
samples := []int64{1, 2, 3}
b.ResetTimer()