From cc7b8e3379f46469d3ec72b044fb0f993fec4d1b Mon Sep 17 00:00:00 2001 From: Antoine GIRARD Date: Sun, 24 Dec 2017 01:33:34 +0100 Subject: Add more bench (#3161) * Improve makefile + Add benchs * Apply recommendations of @ethantkoenig --- integrations/repo_branch_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'integrations/repo_branch_test.go') diff --git a/integrations/repo_branch_test.go b/integrations/repo_branch_test.go index c20fd6192c..fb33778cde 100644 --- a/integrations/repo_branch_test.go +++ b/integrations/repo_branch_test.go @@ -16,7 +16,7 @@ import ( "github.com/stretchr/testify/assert" ) -func testCreateBranch(t *testing.T, session *TestSession, user, repo, oldRefSubURL, newBranchName string, expectedStatus int) string { +func testCreateBranch(t testing.TB, session *TestSession, user, repo, oldRefSubURL, newBranchName string, expectedStatus int) string { var csrf string if expectedStatus == http.StatusNotFound { csrf = GetCSRF(t, session, path.Join(user, repo, "src/branch/master")) -- cgit v1.2.3