diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2018-03-30 07:21:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-30 07:21:27 +0800 |
commit | 45d1fc03cb043b585c81d15163184be7691f5fc8 (patch) | |
tree | 2a5c9b7c64301f7b72f09f223d885901d8de2811 /routers/repo/issue_label_test.go | |
parent | 36ea53332d5b78bf9366262f5bb0765361e2ecc2 (diff) | |
download | gitea-45d1fc03cb043b585c81d15163184be7691f5fc8.tar.gz gitea-45d1fc03cb043b585c81d15163184be7691f5fc8.zip |
fix go vet error (#3740)
Diffstat (limited to 'routers/repo/issue_label_test.go')
-rw-r--r-- | routers/repo/issue_label_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/issue_label_test.go b/routers/repo/issue_label_test.go index 9052a65d28..bf62511258 100644 --- a/routers/repo/issue_label_test.go +++ b/routers/repo/issue_label_test.go @@ -32,7 +32,7 @@ func TestInitializeLabels(t *testing.T) { ctx := test.MockContext(t, "user2/repo1/labels/initialize") test.LoadUser(t, ctx, 2) test.LoadRepo(t, ctx, 2) - InitializeLabels(ctx, auth.InitializeLabelsForm{"Default"}) + InitializeLabels(ctx, auth.InitializeLabelsForm{TemplateName: "Default"}) assert.EqualValues(t, http.StatusFound, ctx.Resp.Status()) models.AssertExistsAndLoadBean(t, &models.Label{ RepoID: 2, |