diff --git a/root_test.go b/root_test.go index 8dcf74e..e61c218 100644 --- a/root_test.go +++ b/root_test.go @@ -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)