mirror of https://github.com/docker/docs.git
Merge pull request #9668 from viirya/fix_error_type
Fix incorrect error type
This commit is contained in:
commit
c533d2cb9b
|
|
@ -90,7 +90,7 @@ func TestHttpsInfoRogueServerCert(t *testing.T) {
|
|||
}
|
||||
|
||||
if !strings.Contains(err.Error(), errCaUnknown) {
|
||||
t.Fatalf("Expected error: %s, got instead: %s", errBadCertificate, err)
|
||||
t.Fatalf("Expected error: %s, got instead: %s", errCaUnknown, err)
|
||||
}
|
||||
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue