diff options
author | Antoine GIRARD <sapk@users.noreply.github.com> | 2017-12-24 01:33:34 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-12-24 02:33:34 +0200 |
commit | cc7b8e3379f46469d3ec72b044fb0f993fec4d1b (patch) | |
tree | 5086b854166f4134da1e0430e87f499e904594aa /integrations/repo_branch_test.go | |
parent | a995ad90e1055ad001a025a6d94fcc3d8ea87004 (diff) | |
download | gitea-cc7b8e3379f46469d3ec72b044fb0f993fec4d1b.tar.gz gitea-cc7b8e3379f46469d3ec72b044fb0f993fec4d1b.zip |
Add more bench (#3161)
* Improve makefile + Add benchs
* Apply recommendations of @ethantkoenig
Diffstat (limited to 'integrations/repo_branch_test.go')
-rw-r--r-- | integrations/repo_branch_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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")) |