|
|
@ -139,7 +139,7 @@ func TestGetCompleteMultipartMD5(t *testing.T) { |
|
|
|
expectedErr string |
|
|
|
expectedErr string |
|
|
|
}{ |
|
|
|
}{ |
|
|
|
// Wrong MD5 hash string
|
|
|
|
// Wrong MD5 hash string
|
|
|
|
{[]CompletePart{{ETag: "wrong-md5-hash-string"}}, "", "encoding/hex: odd length hex string"}, |
|
|
|
{[]CompletePart{{ETag: "wrong-md5-hash-string"}}, "", "encoding/hex: invalid byte: U+0077 'w'"}, |
|
|
|
|
|
|
|
|
|
|
|
// Single CompletePart with valid MD5 hash string.
|
|
|
|
// Single CompletePart with valid MD5 hash string.
|
|
|
|
{[]CompletePart{{ETag: "cf1f738a5924e645913c984e0fe3d708"}}, "10dc1617fbcf0bd0858048cb96e6bd77-1", ""}, |
|
|
|
{[]CompletePart{{ETag: "cf1f738a5924e645913c984e0fe3d708"}}, "10dc1617fbcf0bd0858048cb96e6bd77-1", ""}, |
|
|
|