test: merge declaration flagged by staticcheck
ci / image (pull_request) Successful in 3m32s
ci / build (pull_request) Successful in 8m52s
ci / lint (pull_request) Successful in 11m59s
ci / test (pull_request) Successful in 12m9s

#123 was built before staticcheck came back in #125.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-11-23 17:36:47 +01:00
1 parent 5beb9f6451
commit ef759826b7
1 file changed
+1 -2
+1 -2
View File
@@ -18,8 +18,7 @@ import (
// fakeGitHub answers like GitHub's OAuth and REST API for one user.
func fakeGitHub(t *testing.T, id int64, email string, verified bool) *httptest.Server {
var srv *httptest.Server
srv = httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
switch r.URL.Path {
case "/login/oauth/authorize":
back, _ := url.Parse(r.URL.Query().Get("redirect_uri"))