Merge pull request #9668 from viirya/fix_error_type

Fix incorrect error type
This commit is contained in:
Alexander Morozov 2014-12-15 08:18:34 -08:00
commit c533d2cb9b
1 changed files with 1 additions and 1 deletions

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