mirror of
https://github.com/golang/go
synced 2024-11-21 15:54:43 -07:00
http: change localhost URL; maybe fix Windows
R=golang-dev, rsc, bradfitzwork CC=golang-dev https://golang.org/cl/4259048
This commit is contained in:
parent
61fd11ef96
commit
38a105e48a
@ -353,7 +353,7 @@ func TestServerTimeouts(t *testing.T) {
|
||||
|
||||
// TestIdentityResponse verifies that a handler can unset
|
||||
func TestIdentityResponse(t *testing.T) {
|
||||
l, err := net.Listen("tcp", ":0")
|
||||
l, err := net.Listen("tcp", "127.0.0.1:0")
|
||||
if err != nil {
|
||||
t.Fatalf("failed to listen on a port: %v", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user