Fix build issue

This commit is contained in:
Harshavardhana
2015-02-01 17:21:12 -08:00
parent 4d5e4cd46f
commit dc47ca1431
2 changed files with 9 additions and 8 deletions

View File

@@ -241,13 +241,10 @@ func (s *MySuite) TestPutObject(c *C) {
testServer := httptest.NewServer(httpHandler)
defer testServer.Close()
err := storage.StoreBucket("bucket")
c.Assert(err, IsNil)
objects, isTruncated, err := storage.ListObjects("bucket", "", 1000)
c.Assert(len(objects), Equals, 0)
c.Assert(isTruncated, Equals, false)
c.Assert(err, IsNil)
c.Assert(err, Not(IsNil))
date1 := time.Now()