wantErr error
}{
{
- name: "Paths to cert info ok should return cerftificate",
+ name: "Paths to cert info ok should return certificate",
args: args{
certPath: "../../security/consumer.crt",
keyPath: "../../security/consumer.key",
certPath: "wrong_cert",
keyPath: "wrong_key",
},
- wantErr: fmt.Errorf("cannot create x509 keypair from cert file wrong_cert and key file wrong_key due to: open wrong_cert: no such file or directory"),
+ wantErr: fmt.Errorf("cannot create x509 key pair from cert file wrong_cert and key file wrong_key due to: open wrong_cert: no such file or directory"),
},
}
for _, tt := range tests {