From ac2933c7991e4e48e3282c861286f98183ff0668 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sat, 30 Apr 2016 02:52:23 -0700 Subject: [PATCH] windows: Enable erasure test for windows. (#1432) Fixes #1363 --- object_api_suite_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/object_api_suite_test.go b/object_api_suite_test.go index 75e256550..c14708b60 100644 --- a/object_api_suite_test.go +++ b/object_api_suite_test.go @@ -22,7 +22,6 @@ import ( "encoding/hex" "io" "math/rand" - "runtime" "strconv" "gopkg.in/check.v1" @@ -277,9 +276,7 @@ func testObjectOverwriteWorks(c *check.C, create func() ObjectLayer) { c.Assert(err, check.IsNil) _, e := io.Copy(&bytesBuffer, r) 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) }