1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix incorrect error type.

Signed-off-by: Liang-Chi Hsieh <viirya@gmail.com>
This commit is contained in:
Liang-Chi Hsieh 2014-12-15 17:26:00 +08:00
parent e4b2f802ae
commit bc4edbbe71

View file

@ -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)
}
})