mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Fix incorrect error type.
Signed-off-by: Liang-Chi Hsieh <viirya@gmail.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user