We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9f28f7 commit 7c8e501Copy full SHA for 7c8e501
1 file changed
api/client/client_test.go
@@ -97,7 +97,7 @@ func TestNewMutualTLSServer(t *testing.T) {
97
if err == nil {
98
t.Fatalf("expected error with sign function")
99
}
100
- if !strings.Contains(err.Error(), "Post https://nohost:8888/api/v1/cfssl/sign: dial tcp: lookup nohost") {
+ if !(strings.Contains(err.Error(), "Post")) && !(strings.Contains(err.Error(), "https://nohost:8888/api/v1/cfssl/sign")) && !(strings.Contains(err.Error(), "dial tcp: lookup nohost: no such host")) {
101
t.Fatalf("no error message %v", err)
102
103
0 commit comments