diff --git a/security/advancedtls/advancedtls_integration_test.go b/security/advancedtls/advancedtls_integration_test.go index b81882c605e6..16c0f278c2b0 100644 --- a/security/advancedtls/advancedtls_integration_test.go +++ b/security/advancedtls/advancedtls_integration_test.go @@ -264,7 +264,7 @@ func (s) TestEnd2End(t *testing.T) { } cert, err := x509.ParseCertificate(params.RawCerts[0]) if err != nil || cert == nil { - return nil, fmt.Errorf("failed to parse certificate: " + err.Error()) + return nil, fmt.Errorf("failed to parse certificate: %v", err) } authzCheck := false switch stage.read() {