- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for expectedErr (5.38 sec)
-
cmd/object-handlers_test.go
i+1, instanceType, bucketName, testObject, err) } if test.expectedErr.Code != errXML.Code { t.Errorf("Test %d %s expected to fail with error %s, but received %s", i+1, instanceType, test.expectedErr.Code, errXML.Code) } } else if rec.Code != http.StatusOK { t.Errorf("Test %d %s expected to succeed, but failed with HTTP status code %d",
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 160K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(err, nil) c.Assert(response.StatusCode, http.StatusOK) getContent, err := io.ReadAll(response.Body) c.Assert(err, nil) for _, expectedStr := range testCase.expectedStrings { c.Assert(strings.Contains(string(getContent), expectedStr), true) } } } // TestListObjectVersionsHandler - checks the order of <Version> // and <DeleteMarker> XML tags in a version listing
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 108K bytes - Viewed (0)