crypto/tls, fmt: print fixes
R=golang-dev, bradfitz, minux.ma, rsc, bradfitz CC=golang-dev https://golang.org/cl/5787069
This commit is contained in:
parent
000149abb2
commit
46f6bfea8f
@ -50,7 +50,7 @@ func TestCertHostnameVerifyWindows(t *testing.T) {
|
||||
conn, err := Dial("tcp", addr+":443", cfg)
|
||||
if err == nil {
|
||||
conn.Close()
|
||||
t.Errorf("should fail to verify for example.com: %v", addr, err)
|
||||
t.Errorf("should fail to verify for example.com: %v", addr)
|
||||
continue
|
||||
}
|
||||
_, ok := err.(x509.HostnameError)
|
||||
|
Loading…
Reference in New Issue
Block a user