summaryrefslogtreecommitdiff
path: root/contrib/tlsauth/auth_test.go
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-01-28 14:52:35 -0700
committertjpcc <tjp@ctrl-c.club>2023-01-28 15:01:41 -0700
commit66a1b1f39a1e1d5499b548b36d18c8daa872d7da (patch)
tree96471dbd5486ede1a908790ac23e0c55b226dfad /contrib/tlsauth/auth_test.go
parenta27b879accb191b6a6c6e76a6251ed751967f73a (diff)
gopher support.
Some of the contrib packages were originally built gemini-specific and had to be refactored into generic core functionality and thin protocol-specific wrappers for each of gemini and gopher.
Diffstat (limited to 'contrib/tlsauth/auth_test.go')
-rw-r--r--contrib/tlsauth/auth_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/tlsauth/auth_test.go b/contrib/tlsauth/auth_test.go
index fc39359..30b63f5 100644
--- a/contrib/tlsauth/auth_test.go
+++ b/contrib/tlsauth/auth_test.go
@@ -143,11 +143,12 @@ func setup(
server, err := gemini.NewServer(
context.Background(),
- nil,
- serverTLS,
+ "localhost",
"tcp",
"127.0.0.1:0",
handler,
+ nil,
+ serverTLS,
)
require.Nil(t, err)