mirror of
https://github.com/golang/go
synced 2024-11-24 23:27:57 -07:00
http: Change redirect test URL, as the old one now fails.
R=rsc, r2 CC=golang-dev https://golang.org/cl/2267042
This commit is contained in:
parent
a6b6142f30
commit
7b175236cb
@ -139,8 +139,8 @@ func TestMultipartReader(t *testing.T) {
|
|||||||
|
|
||||||
func TestRedirect(t *testing.T) {
|
func TestRedirect(t *testing.T) {
|
||||||
const (
|
const (
|
||||||
start = "http://codesearch.google.com/"
|
start = "http://google.com/"
|
||||||
end = "http://www.google.com/codesearch"
|
end = "http://www.google.com/"
|
||||||
)
|
)
|
||||||
r, url, err := Get(start)
|
r, url, err := Get(start)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user