mirror of https://github.com/golang/go.git
parent
295ceb4526
commit
2e4334eb3a
|
|
@ -200,7 +200,6 @@ var (
|
||||||
func (t *uintType) compat(o Type, conv bool) bool {
|
func (t *uintType) compat(o Type, conv bool) bool {
|
||||||
t2, ok := o.lit().(*uintType);
|
t2, ok := o.lit().(*uintType);
|
||||||
return ok && t == t2;
|
return ok && t == t2;
|
||||||
;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *uintType) lit() Type { return t }
|
func (t *uintType) lit() Type { return t }
|
||||||
|
|
|
||||||
|
|
@ -51,8 +51,7 @@ var googleaddrs = []string{
|
||||||
"[0:0:0:0:0000:ffff:74.125.19.99]:80",
|
"[0:0:0:0:0000:ffff:74.125.19.99]:80",
|
||||||
"[0:0:0:0:000000:ffff:74.125.19.99]:80",
|
"[0:0:0:0:000000:ffff:74.125.19.99]:80",
|
||||||
"[0:0:0:0:0:ffff::74.125.19.99]:80",
|
"[0:0:0:0:0:ffff::74.125.19.99]:80",
|
||||||
"[2001:4860:0:2001::68]:80" // ipv6.google.com; removed if ipv6 flag not set
|
"[2001:4860:0:2001::68]:80", // ipv6.google.com; removed if ipv6 flag not set
|
||||||
,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestDialGoogle(t *testing.T) {
|
func TestDialGoogle(t *testing.T) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue