- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ResponseBody (0.15 sec)
-
cmd/server_test.go
c.Assert(response.StatusCode, http.StatusOK) var buffer bytes.Buffer // extract the body of the response. responseBody, err := io.ReadAll(response.Body) c.Assert(err, nil) // assert the http response body content. c.Assert(true, bytes.Equal(responseBody, buffer.Bytes())) } func (s *TestSuiteCommon) TestBucket(c *check) { // generate a random bucket name. bucketName := getRandomBucketName()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 108K bytes - Viewed (0)