summaryrefslogtreecommitdiff
path: root/contrib/tlsauth/gemini_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tlsauth/gemini_test.go')
-rw-r--r--contrib/tlsauth/gemini_test.go8
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")