mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
Comment: Typo Fix (#7958)
This commit is contained in:
parent
8b5e6e338c
commit
c5faba55c1
@ -1177,7 +1177,7 @@ func (s *TestSuiteCommon) TestPutObject(c *check) {
|
||||
c.Assert(response.StatusCode, http.StatusOK)
|
||||
c.Assert(response.ContentLength, int64(len([]byte("hello world"))))
|
||||
var buffer2 bytes.Buffer
|
||||
// retrive the contents of response body.
|
||||
// retrieve the contents of response body.
|
||||
n, err := io.Copy(&buffer2, response.Body)
|
||||
c.Assert(err, nil)
|
||||
c.Assert(n, int64(len([]byte("hello world"))))
|
||||
@ -1461,7 +1461,7 @@ func (s *TestSuiteCommon) TestHeadOnObjectLastModified(c *check) {
|
||||
// verify the status of the HTTP response.
|
||||
c.Assert(response.StatusCode, http.StatusOK)
|
||||
|
||||
// retrive the info of last modification time of the object from the response header.
|
||||
// retrieve the info of last modification time of the object from the response header.
|
||||
lastModified := response.Header.Get("Last-Modified")
|
||||
// Parse it into time.Time structure.
|
||||
t, err := time.Parse(http.TimeFormat, lastModified)
|
||||
|
@ -312,7 +312,7 @@ func testSelectObject(s3Client *s3.S3) {
|
||||
return
|
||||
}
|
||||
|
||||
// Test comma field seperator
|
||||
// Test comma field separator
|
||||
inputCsv1 := `year,gender,ethnicity,firstname,count,rank
|
||||
2011,FEMALE,ASIAN AND PACIFIC ISLANDER,SOPHIA,119,1
|
||||
2011,FEMALE,ASIAN AND PACIFIC ISLANDER,CHLOE,106,2
|
||||
@ -392,7 +392,7 @@ func testSelectObject(s3Client *s3.S3) {
|
||||
return
|
||||
}
|
||||
|
||||
// Test unicode field seperator
|
||||
// Test unicode field separator
|
||||
inputCsv2 := `"year"╦"gender"╦"ethnicity"╦"firstname"╦"count"╦"rank"
|
||||
"2011"╦"FEMALE"╦"ASIAN AND PACIFIC ISLANDER"╦"SOPHIA"╦"119"╦"1"
|
||||
"2011"╦"FEMALE"╦"ASIAN AND PACIFIC ISLANDER"╦"CHLOE"╦"106"╦"2"
|
||||
|
Loading…
Reference in New Issue
Block a user