+2
-1
lines changedFilter options
+2
-1
lines changed Original file line number Diff line number Diff line change
@@ -240,7 +240,8 @@ func TestWrap(t *testing.T) {
240
240
if err.ErrorCode != int(CertificateError)+int(VerifyFailed)+certificateInvalid+int(x509.Expired) {
241
241
t.Fatal("Error code construction failed.")
242
242
}
243
-
if err.Message != "x509: certificate has expired or is not yet valid" {
243
+
errorString := "x509: certificate has expired or is not yet valid:"
244
+
if err.Message[:49] != errorString[:49] {
244
245
t.Fatal("Error message construction failed.")
245
246
}
246
247
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4