mirror of
https://github.com/minio/minio.git
synced 2025-03-30 17:23:42 -04:00
parent
84afec9ae0
commit
ac2933c799
@ -22,7 +22,6 @@ import (
|
|||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"io"
|
"io"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"runtime"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gopkg.in/check.v1"
|
"gopkg.in/check.v1"
|
||||||
@ -277,9 +276,7 @@ func testObjectOverwriteWorks(c *check.C, create func() ObjectLayer) {
|
|||||||
c.Assert(err, check.IsNil)
|
c.Assert(err, check.IsNil)
|
||||||
_, e := io.Copy(&bytesBuffer, r)
|
_, e := io.Copy(&bytesBuffer, r)
|
||||||
c.Assert(e, check.IsNil)
|
c.Assert(e, check.IsNil)
|
||||||
if runtime.GOOS != "windows" {
|
c.Assert(string(bytesBuffer.Bytes()), check.Equals, "The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed.")
|
||||||
c.Assert(string(bytesBuffer.Bytes()), check.Equals, "The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed.")
|
|
||||||
}
|
|
||||||
c.Assert(r.Close(), check.IsNil)
|
c.Assert(r.Close(), check.IsNil)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user