Chore: Enable scopelint Go linter (#25896)

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Arve Knudsen
2020-06-29 17:04:38 +02:00
committed by GitHub
parent a5fb6bddbe
commit d1e6214a4a
28 changed files with 45 additions and 4 deletions

View File

@@ -252,6 +252,7 @@ func TestLoginViewRedirect(t *testing.T) {
}
for _, c := range redirectCases {
c := c
hs.Cfg.AppUrl = c.appURL
hs.Cfg.AppSubUrl = c.appSubURL
t.Run(c.desc, func(t *testing.T) {
@@ -420,6 +421,7 @@ func TestLoginPostRedirect(t *testing.T) {
}
for _, c := range redirectCases {
c := c
hs.Cfg.AppUrl = c.appURL
hs.Cfg.AppSubUrl = c.appSubURL
t.Run(c.desc, func(t *testing.T) {