The Mac is picky about the syntax for listening on ephemeral ports.
This commit is contained in:
@@ -46,7 +46,7 @@ func echoServer(t *testing.T, addr string) (string, error) {
|
||||
}
|
||||
|
||||
func TestProxy(t *testing.T) {
|
||||
port, err := echoServer(t, "127.0.0.1:")
|
||||
port, err := echoServer(t, "127.0.0.1:0")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user