diff --git a/functional_tests.go b/functional_tests.go index 823f4455d..3ce9d38e3 100644 --- a/functional_tests.go +++ b/functional_tests.go @@ -2407,10 +2407,6 @@ func testPutMultipartObjectWithChecksums(trailing bool) { args["section"] = "prep" bufSize := dataFileMap["datafile-129-MB"] - if false && test.cs.Is(minio.ChecksumFullObjectCRC32) { - c.TraceOn(os.Stdout) - defer c.TraceOff() - } // Save the data objectName := randString(60, rand.NewSource(time.Now().UnixNano()), "") args["objectName"] = objectName diff --git a/utils.go b/utils.go index 36eba760e..cd7d2c27e 100644 --- a/utils.go +++ b/utils.go @@ -700,7 +700,7 @@ func (h *hashReaderWrapper) Read(p []byte) (n int, err error) { return n, err } -// Followis is ported from C to Go in 2016 by Justin Ruggles, with minimal alteration. +// Following is ported from C to Go in 2016 by Justin Ruggles, with minimal alteration. // Used uint for unsigned long. Used uint32 for input arguments in order to match // the Go hash/crc32 package. zlib CRC32 combine (https://github.com/madler/zlib) // Modified for hash/crc64 by Klaus Post, 2024. diff --git a/utils_test.go b/utils_test.go index f6bccfc3b..9c111de1b 100644 --- a/utils_test.go +++ b/utils_test.go @@ -465,7 +465,7 @@ func TestFullObjectChecksum64(t *testing.T) { t.Fatal(err) } if gotCRC.Encoded() != want { - t.Errorf("Checksum CRC64NVME does not match the expected CRC got:%s want:%s", gotCRC.Encoded(), want) + t.Errorf("Checksum %v does not match the expected CRC got:%s want:%s", cs.String(), gotCRC.Encoded(), want) } }) }