diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-01-24 19:59:47 -0700 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-01-24 19:59:47 -0700 |
commit | 997514292a8492d2291643e91081f3e790eefbaf (patch) | |
tree | ed870f158c6a6adfd91e490a64276bb704b56619 /contrib/tlsauth/gemini_test.go | |
parent | 23d705b93a89cb0aee582eda819a76257f42dffc (diff) |
testing and linting and linter fixes
Diffstat (limited to 'contrib/tlsauth/gemini_test.go')
-rw-r--r-- | contrib/tlsauth/gemini_test.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/tlsauth/gemini_test.go b/contrib/tlsauth/gemini_test.go index bc87958..8f1efda 100644 --- a/contrib/tlsauth/gemini_test.go +++ b/contrib/tlsauth/gemini_test.go @@ -54,7 +54,9 @@ func TestGeminiAuth(t *testing.T) { authlessClient, _ := clientFor(t, server, "", "") - go server.Serve() + go func() { + _ = server.Serve() + }() defer server.Close() resp := requestPath(t, authClient, server, "/one") @@ -94,7 +96,9 @@ func TestGeminiOptionalAuth(t *testing.T) { ) authlessClient, _ := clientFor(t, server, "", "") - go server.Serve() + go func() { + _ = server.Serve() + }() defer server.Close() resp := requestPath(t, authClient, server, "/one") |