summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-12-06 14:07:36 -0800
committerRuss Cox <rsc@golang.org>2010-12-06 14:07:36 -0800
commit92bfd850e0b1d7740042d4983ea787592877082d (patch)
tree439987599dd35af576239fd9211ddb5ebd39c9c9
parent8221eb910383e27141a4e0482588289e50c574ab (diff)
downloadgo-git-92bfd850e0b1d7740042d4983ea787592877082d.tar.gz
net: fix TestDialGoogle
TBR=r CC=golang-dev https://golang.org/cl/3417042
-rw-r--r--src/pkg/net/dialgoogle_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/net/dialgoogle_test.go b/src/pkg/net/dialgoogle_test.go
index 03641817d0..47a478a8fa 100644
--- a/src/pkg/net/dialgoogle_test.go
+++ b/src/pkg/net/dialgoogle_test.go
@@ -17,7 +17,7 @@ var ipv6 = flag.Bool("ipv6", false, "assume ipv6 tunnel is present")
// fd is already connected to the destination, port 80.
// Run an HTTP request to fetch the appropriate page.
func fetchGoogle(t *testing.T, fd Conn, network, addr string) {
- req := []byte("GET /intl/en/privacy.html HTTP/1.0\r\nHost: www.google.com\r\n\r\n")
+ req := []byte("GET /intl/en/privacy/ HTTP/1.0\r\nHost: www.google.com\r\n\r\n")
n, err := fd.Write(req)
buf := make([]byte, 1000)