diff --git a/cmd/server_test.go b/cmd/server_test.go index 7a8e7a2f5..9d59c25da 100644 --- a/cmd/server_test.go +++ b/cmd/server_test.go @@ -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) diff --git a/mint/run/core/aws-sdk-go/quick-tests.go b/mint/run/core/aws-sdk-go/quick-tests.go index ebd2beca5..741aa49c3 100644 --- a/mint/run/core/aws-sdk-go/quick-tests.go +++ b/mint/run/core/aws-sdk-go/quick-tests.go @@ -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"