mirror of
https://github.com/minio/minio.git
synced 2025-11-07 04:42:56 -05:00
handle exception InvalidPart (#6649)
This commit is contained in:
@@ -50,6 +50,10 @@ func TestS3ToObjectError(t *testing.T) {
|
||||
inputErr: errResponse("InvalidBucketName"),
|
||||
expectedErr: minio.BucketNameInvalid{},
|
||||
},
|
||||
{
|
||||
inputErr: errResponse("InvalidPart"),
|
||||
expectedErr: minio.InvalidPart{},
|
||||
},
|
||||
{
|
||||
inputErr: errResponse("NoSuchBucketPolicy"),
|
||||
expectedErr: minio.BucketPolicyNotFound{},
|
||||
|
||||
Reference in New Issue
Block a user