Merge pull request #9668 from viirya/fix_error_type

Fix incorrect error type
Upstream-commit: c533d2cb9b81623357b3c9078522476b7d658401
Component: engine
This commit is contained in:
Alexander Morozov
2014-12-15 08:18:34 -08:00

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