Use a pointer config instead

This commit is contained in:
Seth Vargo
2015-04-23 11:13:52 -04:00
parent c7843ed09b
commit d19aa41b21
2 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ import (
// testHTTPServer creates a test HTTP server that handles requests until
// the listener returned is closed.
func testHTTPServer(
t *testing.T, handler http.Handler) (Config, net.Listener) {
t *testing.T, handler http.Handler) (*Config, net.Listener) {
ln, err := net.Listen("tcp", "127.0.0.1:0")
if err != nil {
t.Fatalf("err: %s", err)