diff options
Diffstat (limited to 'core/caddy.go')
-rw-r--r-- | core/caddy.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/caddy.go b/core/caddy.go index df84e679a..5b336a77e 100644 --- a/core/caddy.go +++ b/core/caddy.go @@ -390,8 +390,8 @@ type Input interface { } // TestServer returns a test server. -// The port can be retreived with ... . The testserver itself can be stopped -// with Stop(). It just takes a normal Corefile input, but doesn't use the port. +// The ports can be retreived with server.LocalAddr(). The testserver itself can be stopped +// with Stop(). It just takes a normal Corefile as input. func TestServer(t *testing.T, corefile string) (*server.Server, error) { cdyfile := CaddyfileInput{Contents: []byte(corefile)} |