diff mbox

[gccgo] Fix HTTP redirect test

Message ID mcr39t18nhe.fsf@google.com
State New
Headers show

Commit Message

Ian Lance Taylor Sept. 22, 2010, 9:41 p.m. UTC
The HTTP redirect test in the Go library started failing, because of
some change in the web site which it checks (codesearch.google.com).
This patch, copied from the master Go library, changes the test so that
it works again.  Committed to gccgo branch.

Ian
diff mbox

Patch

diff -r d54ea9a3b14d libgo/go/http/request_test.go
--- a/libgo/go/http/request_test.go	Mon Sep 20 10:24:28 2010 -0700
+++ b/libgo/go/http/request_test.go	Wed Sep 22 14:39:45 2010 -0700
@@ -139,8 +139,8 @@ 
 
 func TestRedirect(t *testing.T) {
 	const (
-		start = "http://codesearch.google.com/"
-		end   = "http://www.google.com/codesearch"
+		start = "http://google.com/"
+		end   = "http://www.google.com/"
 	)
 	r, url, err := Get(start)
 	if err != nil {