From ae9bdc1d61bb04be32f9110022b95127e35966bc Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Wed, 2 Dec 2020 16:11:22 -0600 Subject: [PATCH] Fix a lint warning by simplifying this append operation. Signed-off-by: Matt Moyer --- test/integration/supervisor_login_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/supervisor_login_test.go b/test/integration/supervisor_login_test.go index 85d2538e..00f68dd1 100644 --- a/test/integration/supervisor_login_test.go +++ b/test/integration/supervisor_login_test.go @@ -156,7 +156,7 @@ func startLocalCallbackServer(t *testing.T) *localCallbackServer { server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { callbacks <- r })) - server.URL = server.URL + "/callback" + server.URL += "/callback" t.Cleanup(server.Close) t.Cleanup(func() { close(callbacks) }) return &localCallbackServer{Server: server, t: t, callbacks: callbacks}