summaryrefslogtreecommitdiffstats
path: root/integrations/links_test.go
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2019-05-28 23:45:54 +0800
committerGitHub <noreply@github.com>2019-05-28 23:45:54 +0800
commit743697a549bda16508ab961ac79a8bc5bdca3bbd (patch)
tree23d40a210acd7b84dd62f6c5ec73dfea938faa5f /integrations/links_test.go
parent31557b12744410633ceb6fc12b53fb09038cee35 (diff)
downloadgitea-743697a549bda16508ab961ac79a8bc5bdca3bbd.tar.gz
gitea-743697a549bda16508ab961ac79a8bc5bdca3bbd.zip
refactor: append, build variable and type switch (#4940)
* refactor: append, build variable and type switch * fix: remove redundant space.
Diffstat (limited to 'integrations/links_test.go')
-rw-r--r--integrations/links_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/links_test.go b/integrations/links_test.go
index 84be7e0591..468c8a0f21 100644
--- a/integrations/links_test.go
+++ b/integrations/links_test.go
@@ -110,7 +110,7 @@ func testLinksAsUser(userName string, t *testing.T) {
reqAPI := NewRequestf(t, "GET", "/api/v1/users/%s/repos", userName)
respAPI := MakeRequest(t, reqAPI, http.StatusOK)
- var apiRepos []api.Repository
+ var apiRepos []*api.Repository
DecodeJSON(t, respAPI, &apiRepos)
var repoLinks = []string{